[pLog-svn] r3946 - in plugins/trunk: hostblock tagcloud
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Sep 6 12:35:54 GMT 2006
Author: jondaley
Date: 2006-09-06 12:35:53 +0000 (Wed, 06 Sep 2006)
New Revision: 3946
Modified:
plugins/trunk/hostblock/pluginhostblock.class.php
plugins/trunk/tagcloud/plugintagcloud.class.php
Log:
added missing include
Modified: plugins/trunk/hostblock/pluginhostblock.class.php
===================================================================
--- plugins/trunk/hostblock/pluginhostblock.class.php 2006-09-06 12:33:02 UTC (rev 3945)
+++ plugins/trunk/hostblock/pluginhostblock.class.php 2006-09-06 12:35:53 UTC (rev 3946)
@@ -66,7 +66,8 @@
// register the menu entries, but the first one is only registered if it hasn't been
// created yet
- $menu =& Menu::getMenu();
+ include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+ $menu =& Menu::getMenu();
if( !$menu->entryExists( "/menu/Manage/blogSecurity" ))
$this->addMenuEntry( "/menu/Manage", "blogSecurity", "", "", true, false );
$this->addMenuEntry( "/menu/Manage/blogSecurity", "blogBlockedHosts", "admin.php?op=blogBlockedHosts", "blogBlockedHosts", true, false );
Modified: plugins/trunk/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/trunk/tagcloud/plugintagcloud.class.php 2006-09-06 12:33:02 UTC (rev 3945)
+++ plugins/trunk/tagcloud/plugintagcloud.class.php 2006-09-06 12:35:53 UTC (rev 3946)
@@ -47,7 +47,8 @@
$this->registerAdminAction( "tagcloud", "PluginTagCloudConfigAction" );
$this->registerAdminAction( "updateTagCloudConfig", "PluginTagCloudUpdateConfigAction" );
-
+
+ include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
$menu =& Menu::getMenu();
if( !$menu->entryExists( "/menu/controlCenter/manageAppearancePlugins" ))
$this->addMenuEntry( "/menu/controlCenter", "manageAppearancePlugins", "", "", true, false );
More information about the pLog-svn
mailing list