[pLog-svn] r6071 - in plog/trunk/class: action/admin config controller

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Nov 22 03:50:31 EST 2007


Author: mark
Date: 2007-11-22 03:50:31 -0500 (Thu, 22 Nov 2007)
New Revision: 6071

Modified:
   plog/trunk/class/action/admin/adminversioncheckaction.class.php
   plog/trunk/class/config/configfilestorage.class.php
   plog/trunk/class/controller/admincontroller.class.php
   plog/trunk/class/controller/blogcontroller.class.php
Log:
More syntax errors fix.

Modified: plog/trunk/class/action/admin/adminversioncheckaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminversioncheckaction.class.php	2007-11-22 08:41:04 UTC (rev 6070)
+++ plog/trunk/class/action/admin/adminversioncheckaction.class.php	2007-11-22 08:50:31 UTC (rev 6071)
@@ -26,6 +26,7 @@
 				
 				// load the file with the reference checksums, as generated by the development
 				// team prior to the release
+				global $data;
 				include( PLOG_CLASS_PATH."install/files.properties.php");
 				
 				// now check the reference data agains the current data. The default folders are

Modified: plog/trunk/class/config/configfilestorage.class.php
===================================================================
--- plog/trunk/class/config/configfilestorage.class.php	2007-11-22 08:41:04 UTC (rev 6070)
+++ plog/trunk/class/config/configfilestorage.class.php	2007-11-22 08:50:31 UTC (rev 6071)
@@ -56,6 +56,7 @@
 						
             if( File::isReadable( $this->_configFile )) {
                     // Note: It is correct to not use lt_include() here
+                global $config;
                 include( $this->_configFile );
                 $this->_props = new Properties( $config );
                 $result = true;

Modified: plog/trunk/class/controller/admincontroller.class.php
===================================================================
--- plog/trunk/class/controller/admincontroller.class.php	2007-11-22 08:41:04 UTC (rev 6070)
+++ plog/trunk/class/controller/admincontroller.class.php	2007-11-22 08:50:31 UTC (rev 6071)
@@ -76,7 +76,9 @@
          */
         function _loadActionMaps()
         {
-                // NOTE: this is an acceptable use of include()
+            // NOTE: this is an acceptable use of include()
+			global $actions;
+
 			include( PLOG_CLASS_PATH."class/controller/admincontrollermap.properties.php" );
 
             return $actions;

Modified: plog/trunk/class/controller/blogcontroller.class.php
===================================================================
--- plog/trunk/class/controller/blogcontroller.class.php	2007-11-22 08:41:04 UTC (rev 6070)
+++ plog/trunk/class/controller/blogcontroller.class.php	2007-11-22 08:50:31 UTC (rev 6071)
@@ -68,7 +68,9 @@
          */
         function _loadActionMaps()
         {
-                // Note: this is an acceptable use of include()
+            // Note: this is an acceptable use of include()
+			global $actions;
+
 			include( PLOG_CLASS_PATH."class/controller/controllermap.properties.php" );
 
             return $actions;



More information about the pLog-svn mailing list