[pLog-svn] r4201 - plog/trunk

reto at devel.lifetype.net reto at devel.lifetype.net
Sat Oct 28 21:40:47 GMT 2006


Author: reto
Date: 2006-10-28 21:40:46 +0000 (Sat, 28 Oct 2006)
New Revision: 4201

Modified:
   plog/trunk/wizard.php
Log:
wizard.php is now working with lt_include

Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2006-10-28 21:04:23 UTC (rev 4200)
+++ plog/trunk/wizard.php	2006-10-28 21:40:46 UTC (rev 4201)
@@ -31,45 +31,46 @@
 
     // many hosts don't have this enabled and we, for the time being, need it...
     ini_set("arg_seperator.output", "&");
-
-    include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
-    include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
-    include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
-    include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
-    include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
-    include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );    
-    include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
-    include_once( PLOG_CLASS_PATH."class/misc/version.class.php" );
-    include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
-    include_once( PLOG_CLASS_PATH."class/file/finder/filefinder.class.php" );
-    include_once( PLOG_CLASS_PATH."class/gallery/resizers/gddetector.class.php" );
-    include_once( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
-    include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
-    include_once( PLOG_CLASS_PATH."class/locale/localefinder.class.php" );
-    include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
-    include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
-    include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );     
     
+    include_once( PLOG_CLASS_PATH."class/bootstrap.php" );
+    lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/template/template.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );    
+    lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/misc/version.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/file/finder/filefinder.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gddetector.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/locale/localefinder.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );     
+    
     // table schemas
-    include_once( PLOG_CLASS_PATH."install/dbschemas.properties.php" );
+    lt_include( PLOG_CLASS_PATH."install/dbschemas.properties.php" );
     // default configuration values for 1.1
-    include_once( PLOG_CLASS_PATH."install/defaultconfig.properties.php" );
+    lt_include( PLOG_CLASS_PATH."install/defaultconfig.properties.php" );
     // post schema changes after upgrade
-    include_once( PLOG_CLASS_PATH."install/changes_10_11.properties.php" );
+    lt_include( PLOG_CLASS_PATH."install/changes_10_11.properties.php" );
 
     define( "TEMP_FOLDER", "./tmp" );
 
@@ -519,7 +520,7 @@
          */
         function getPageFromRequest()
         {
-            include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");    	
+            lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");    	
 			// get the value from the request
 			$page = HttpVars::getRequestValue( "page" );
 			// but first of all, validate it
@@ -1245,7 +1246,7 @@
             }
             
             // clean the data cache to avoid problems when we're done
-            include_once( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
+            lt_include( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
             $cache =& CacheManager::getCache();
             $cache->clearCache();
 
@@ -1650,8 +1651,8 @@
         
         function perform()
         {
-            include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
-            include_once( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
+            lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+            lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
             
             $this->message = "<b>Updating articles (step 3 of 9)</b><br/><br/>";           
                         
@@ -1787,7 +1788,7 @@
             }
             
             // process all trackbacks and insert them again to the comments table
-            include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+            lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
             while( $row = $result->FetchRow()) {
                 // build the insert query
                 $insert = "INSERT INTO ".$this->dbPrefix."articles_comments



More information about the pLog-svn mailing list