Plugins seem to work without global.php declaration?

Support for the Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Author
Message
[vr]
Posts: 13
Joined: Wed Dec 30, 2009 8:40 am
Location: Saginaw, MI

Plugins seem to work without global.php declaration?

#1 Post by [vr] » Mon Jan 11, 2010 4:00 pm

Using the official cacti.net source and in global.php I currently have:

Code: Select all

$plugins = array();
//$plugins[] = 'thold';
$plugins[] = 'thold';
So far I have installed the plugins thold, settings, flowview, and monitor. All of these appear to my untrained eye to be "working".

Are these declarations not really needed or am I missing something?

User avatar
browniebraun
Developer
Posts: 788
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

#2 Post by browniebraun » Mon Jan 11, 2010 11:53 pm

This kind of declaration is only valid with Cacti + PIA 1.x or plugins which are not supporting PIA 2.x.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list

Post Reply