[pLog-svn] r5004 - plog/branches/lifetype-1.2/class/plugin

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Mar 6 12:19:19 EST 2007


Author: jondaley
Date: 2007-03-06 12:19:19 -0500 (Tue, 06 Mar 2007)
New Revision: 5004

Modified:
   plog/branches/lifetype-1.2/class/plugin/pluginbase.class.php
Log:
Plugins no longer need to include the menu

Modified: plog/branches/lifetype-1.2/class/plugin/pluginbase.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/plugin/pluginbase.class.php	2007-03-06 16:38:33 UTC (rev 5003)
+++ plog/branches/lifetype-1.2/class/plugin/pluginbase.class.php	2007-03-06 17:19:19 UTC (rev 5004)
@@ -99,6 +99,9 @@
     	function PluginBase( $source = "" )
         {
         	$this->source = $source;
+            if($this->source == "admin")
+                lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+                
         }
 
         /**



More information about the pLog-svn mailing list