[pLog-svn] r5349 - in plugins/branches/lifetype-1.2: . addcommentnotify/class/phpmsnclass iconize/class/action iconize/class/view moblog/class/PEAR/Net moblog/class/log openid secretblog secretblog/class/action secretblog/class/security secretblog/class/view tidyoutput tidyoutput/class/action tidyoutput/class/tidy tidyoutput/class/view

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Apr 26 18:31:31 EDT 2007


Author: jondaley
Date: 2007-04-26 18:31:31 -0400 (Thu, 26 Apr 2007)
New Revision: 5349

Modified:
   plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/msnsendmsg.php
   plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/sample.php
   plugins/branches/lifetype-1.2/atom.php
   plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeconfigaction.class.php
   plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeupdateconfigaction.class.php
   plugins/branches/lifetype-1.2/iconize/class/view/pluginiconizeconfigview.class.php
   plugins/branches/lifetype-1.2/mobile.php
   plugins/branches/lifetype-1.2/moblog.php
   plugins/branches/lifetype-1.2/moblog/class/PEAR/Net/POP3.php
   plugins/branches/lifetype-1.2/moblog/class/log/mobloglogger.class.php
   plugins/branches/lifetype-1.2/moblogbatch.php
   plugins/branches/lifetype-1.2/openid/OpenID.php
   plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginsettingsaction.class.php
   plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginupdatesettingsaction.class.php
   plugins/branches/lifetype-1.2/secretblog/class/security/secretblogfilter.class.php
   plugins/branches/lifetype-1.2/secretblog/class/view/adminsecretblogpluginsettingsview.class.php
   plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php
   plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputconfigaction.class.php
   plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputupdateconfigaction.class.php
   plugins/branches/lifetype-1.2/tidyoutput/class/tidy/tidy.class.php
   plugins/branches/lifetype-1.2/tidyoutput/class/view/plugintidyoutputconfigview.class.php
   plugins/branches/lifetype-1.2/tidyoutput/plugintidyoutput.class.php
Log:
we should use lt_include everywhere

Modified: plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/msnsendmsg.php
===================================================================
--- plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/msnsendmsg.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/msnsendmsg.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -18,7 +18,7 @@
 $msn_acct = 'YOUR_MSN_ACCOUNT';
 $msn_password = 'YOUR_MSN_PASSWORD';
 
-include_once('msn.class.php');
+include('msn.class.php');
 
 $msn = new MSN();
 

Modified: plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/sample.php
===================================================================
--- plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/sample.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/addcommentnotify/class/phpmsnclass/sample.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -2,7 +2,7 @@
 <?php
 
 error_reporting(E_ALL);
-include_once('msn.class.php');
+include('msn.class.php');
 
 // force to use MSNP9, without debug information
 // $msn = new MSN('MSNP9');

Modified: plugins/branches/lifetype-1.2/atom.php
===================================================================
--- plugins/branches/lifetype-1.2/atom.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/atom.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -8,7 +8,7 @@
         define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
     }
 
-	include_once( PLOG_CLASS_PATH."class/bootstrap.php" );
+	include( PLOG_CLASS_PATH."class/bootstrap.php" );
     	 
 	lt_include( PLOG_CLASS_PATH."plugins/atom/class/xml/atom/atomserver.class.php" );
 	lt_include( PLOG_CLASS_PATH."plugins/atom/class/logger/atomlogger.class.php" );

Modified: plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeconfigaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeconfigaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,8 +1,8 @@
 <?php
 
-	include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/iconize/class/view/pluginiconizeconfigview.class.php" );	
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/iconize/class/view/pluginiconizeconfigview.class.php" );	
 
 	/**
 	 * shows a form with the current configuration

Modified: plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeupdateconfigaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/iconize/class/action/pluginiconizeupdateconfigaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,7 +1,7 @@
 <?php
-	include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/iconize/class/view/pluginiconizeconfigview.class.php" );	
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/iconize/class/view/pluginiconizeconfigview.class.php" );	
 		
 	/**
 	 * updates the plugin configuration

Modified: plugins/branches/lifetype-1.2/iconize/class/view/pluginiconizeconfigview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/iconize/class/view/pluginiconizeconfigview.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/iconize/class/view/pluginiconizeconfigview.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,6 +1,6 @@
 <?php
 	
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
 
 	/**
 	 * implements the main view of the Iconize plugin

Modified: plugins/branches/lifetype-1.2/mobile.php
===================================================================
--- plugins/branches/lifetype-1.2/mobile.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/mobile.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -9,7 +9,7 @@
         define( "MOBILE_PLOG_CLASS_PATH", PLOG_CLASS_PATH."plugins/mobile/" );
     }
 
-    include_once( PLOG_CLASS_PATH."class/bootstrap.php" );    
+    include( PLOG_CLASS_PATH."class/bootstrap.php" );    
     lt_include( MOBILE_PLOG_CLASS_PATH."class/controller/mobilecontroller.class.php" );
     lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
 

Modified: plugins/branches/lifetype-1.2/moblog/class/PEAR/Net/POP3.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/class/PEAR/Net/POP3.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/moblog/class/PEAR/Net/POP3.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -155,7 +155,7 @@
         * Include the Auth_SASL package.  If the package is not available,
         * we disable the authentication methods that depend upon it.
         */
-        if ((@include_once dirname(__FILE__).'/../Auth/SASL.php') == false) {
+        if (lt_include(dirname(__FILE__).'/../Auth/SASL.php') == false) {
             if($this->_debug){
                 echo "AUTH_SASL NOT PRESENT!\n";
             }

Modified: plugins/branches/lifetype-1.2/moblog/class/log/mobloglogger.class.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/class/log/mobloglogger.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/moblog/class/log/mobloglogger.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -17,7 +17,7 @@
 		{
 			$config =& Config::getConfig();
 			if( $config->getValue( "moblog_logging_enabled" )) {
-				include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
+				lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
 				$logger =& LoggerManager::getLogger();
 				$logger->debug( $message );		
 			}

Modified: plugins/branches/lifetype-1.2/moblog.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/moblog.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -12,7 +12,7 @@
     define( "MOBLOG_DEBUG", true );
     
     // bring in some code that we need
-    include_once( PLOG_CLASS_PATH."class/bootstrap.php" );    
+    include( PLOG_CLASS_PATH."class/bootstrap.php" );    
     lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
     lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
     lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );

Modified: plugins/branches/lifetype-1.2/moblogbatch.php
===================================================================
--- plugins/branches/lifetype-1.2/moblogbatch.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/moblogbatch.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -6,7 +6,7 @@
     }
     
     // bring in some code that we need
-    include_once( PLOG_CLASS_PATH."class/bootstrap.php" );    
+    include( PLOG_CLASS_PATH."class/bootstrap.php" );    
     lt_include( PLOG_CLASS_PATH."plugins/moblog/class/PEAR/Net/POP3.php" );
     lt_include( PLOG_CLASS_PATH."plugins/moblog/class/PEAR/HTTP/Request.php");
     lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" ); 

Modified: plugins/branches/lifetype-1.2/openid/OpenID.php
===================================================================
--- plugins/branches/lifetype-1.2/openid/OpenID.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/openid/OpenID.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -35,7 +35,7 @@
     }
     define( "PLOG_CLASS_PATH", $path."/");
 }
-include_once( PLOG_CLASS_PATH."class/bootstrap.php" );    
+include( PLOG_CLASS_PATH."class/bootstrap.php" );    
 lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
 lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
 lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php");

Modified: plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginsettingsaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginsettingsaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginsettingsaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,8 +1,8 @@
 <?php
 
-//	include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/secretblog/class/view/adminsecretblogpluginsettingsview.class.php" );	
+//	lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/secretblog/class/view/adminsecretblogpluginsettingsview.class.php" );	
 
     class AdminSecretBlogPluginSettingsAction extends AdminAction 
 	{

Modified: plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginupdatesettingsaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginupdatesettingsaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/secretblog/class/action/adminsecretblogpluginupdatesettingsaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,9 +1,9 @@
 <?php
 
-	include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-//	include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/secretblog/class/view/adminsecretblogpluginsettingsview.class.php" );	
-	include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+//	lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/secretblog/class/view/adminsecretblogpluginsettingsview.class.php" );	
+	lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 	
     class AdminSecretBlogPluginUpdateSettingsAction extends AdminAction 
 	{

Modified: plugins/branches/lifetype-1.2/secretblog/class/security/secretblogfilter.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/class/security/secretblogfilter.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/secretblog/class/security/secretblogfilter.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,7 +1,7 @@
 <?php
 
-    include_once( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
-    include_once( PLOG_CLASS_PATH . 'class/template/template.class.php' );
+    lt_include( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
+    lt_include( PLOG_CLASS_PATH . 'class/template/template.class.php' );
 
 
     class SecretBlogFilter extends PipelineFilter 
@@ -98,7 +98,7 @@
          */
         function renderPasswordForm( $blogInfo )
         {
-			include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );        
+			lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );        
 			$ts = new TemplateService();
 			$t = $ts->PluginTemplate( "secretblog", "passwordform" );
 			$t->assign( "locale", $blogInfo->getLocale() );

Modified: plugins/branches/lifetype-1.2/secretblog/class/view/adminsecretblogpluginsettingsview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/class/view/adminsecretblogpluginsettingsview.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/secretblog/class/view/adminsecretblogpluginsettingsview.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,6 +1,6 @@
 <?php
 	
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
 
 	class AdminSecretBlogPluginSettingsView extends AdminPluginTemplatedView
 	{

Modified: plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,8 +1,8 @@
 <?php
 
-	include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/secretblog/class/security/secretblogfilter.class.php" );
-	include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );	
+	lt_include( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
+	lt_include( PLOG_CLASS_PATH."plugins/secretblog/class/security/secretblogfilter.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );	
 	
 	class PluginSecretBlog extends PluginBase
 	{

Modified: plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputconfigaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputconfigaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,8 +1,8 @@
 <?php
 
-	include_once(PLOG_CLASS_PATH . "class/action/admin/adminaction.class.php");
-	include_once(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
-	include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/view/plugintidyoutputconfigview.class.php");
+	lt_include(PLOG_CLASS_PATH . "class/action/admin/adminaction.class.php");
+	lt_include(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
+	lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/view/plugintidyoutputconfigview.class.php");
 
 	/**
     * PluginTidyOutputConfigAction class
@@ -24,7 +24,7 @@
         */        
 		function perform()
 		{
-            include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
+            lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
                   
             $this->_view = new PluginTidyOutputConfigView($this->_blogInfo);
             $this->_view->setValue("tidyInstalled", Tidy::isInstalled());

Modified: plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputupdateconfigaction.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/tidyoutput/class/action/plugintidyoutputupdateconfigaction.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,8 +1,8 @@
 <?php
 
-	include_once(PLOG_CLASS_PATH . "class/action/admin/adminaction.class.php");
-	include_once(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
-	include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/view/plugintidyoutputconfigview.class.php");
+	lt_include(PLOG_CLASS_PATH . "class/action/admin/adminaction.class.php");
+	lt_include(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
+	lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/view/plugintidyoutputconfigview.class.php");
 		
     /**
     * PluginTidyOutputUpdateConfigAction class
@@ -65,7 +65,7 @@
             $this->_session->setValue("blogInfo", $this->_blogInfo);
             $this->saveSession();
 
-            include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
+            lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
                   
             $this->_view = new PluginTidyOutputConfigView($this->_blogInfo);
             $this->_view->setValue("tidyInstalled", Tidy::isInstalled());

Modified: plugins/branches/lifetype-1.2/tidyoutput/class/tidy/tidy.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tidyoutput/class/tidy/tidy.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/tidyoutput/class/tidy/tidy.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,6 +1,6 @@
 <?php
 
-    include_once(PLOG_CLASS_PATH . "class/object/object.class.php");
+    lt_include(PLOG_CLASS_PATH . "class/object/object.class.php");
 
     /**
     * Tidy class.

Modified: plugins/branches/lifetype-1.2/tidyoutput/class/view/plugintidyoutputconfigview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tidyoutput/class/view/plugintidyoutputconfigview.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/tidyoutput/class/view/plugintidyoutputconfigview.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,6 +1,6 @@
 <?php
 	
-	include_once(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
+	lt_include(PLOG_CLASS_PATH . "class/view/admin/adminplugintemplatedview.class.php");
 
 	/**
     * PluginTidyOutputConfigView class

Modified: plugins/branches/lifetype-1.2/tidyoutput/plugintidyoutput.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tidyoutput/plugintidyoutput.class.php	2007-04-26 22:30:59 UTC (rev 5348)
+++ plugins/branches/lifetype-1.2/tidyoutput/plugintidyoutput.class.php	2007-04-26 22:31:31 UTC (rev 5349)
@@ -1,7 +1,7 @@
 <?php
 
-    include_once(PLOG_CLASS_PATH . "class/plugin/pluginbase.class.php");
-    include_once(PLOG_CLASS_PATH . "class/plugin/pluginmanager.class.php");
+    lt_include(PLOG_CLASS_PATH . "class/plugin/pluginbase.class.php");
+    lt_include(PLOG_CLASS_PATH . "class/plugin/pluginmanager.class.php");
     
     /*
     * Plugin that offers features to return links to the next and previous articles
@@ -23,7 +23,7 @@
 
             $this->init();
 
-            include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
+            lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
             
             if (Tidy::isInstalled())
             {
@@ -44,7 +44,7 @@
                 $this->registerAdminAction("tidyoutput", "PluginTidyOutputConfigAction");
                 $this->registerAdminAction("tidyoutputUpdateConfig", "PluginTidyOutputUpdateConfigAction");
 
-                include_once(PLOG_CLASS_PATH . "class/template/menu/menu.class.php");
+                lt_include(PLOG_CLASS_PATH . "class/template/menu/menu.class.php");
                 $menu = &Menu::getMenu();
             
                 if (!$menu->entryExists( "/menu/adminSettings/manageOutputPlugins"))
@@ -94,8 +94,8 @@
                 return $output;
             }
 
-            include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
-            include_once(PLOG_CLASS_PATH . "plugins/tidyoutput/config/options.properties.php");
+            lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/class/tidy/tidy.class.php");
+            lt_include(PLOG_CLASS_PATH . "plugins/tidyoutput/config/options.properties.php");
             
             $tidy = new Tidy();
             $tidy->setOptions($options);



More information about the pLog-svn mailing list