[pLog-svn] r6072 - in plog/trunk/class: data/serialize/json logger/config misc

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Nov 22 03:56:21 EST 2007


Author: mark
Date: 2007-11-22 03:56:21 -0500 (Thu, 22 Nov 2007)
New Revision: 6072

Modified:
   plog/trunk/class/data/serialize/json/jsonserializer.class.php
   plog/trunk/class/logger/config/loggerconfigloader.class.php
   plog/trunk/class/misc/installation.class.php
Log:
More More syntax errors fix.

Modified: plog/trunk/class/data/serialize/json/jsonserializer.class.php
===================================================================
--- plog/trunk/class/data/serialize/json/jsonserializer.class.php	2007-11-22 08:50:31 UTC (rev 6071)
+++ plog/trunk/class/data/serialize/json/jsonserializer.class.php	2007-11-22 08:56:21 UTC (rev 6072)
@@ -206,7 +206,7 @@
             case 1:
                 // this case should never be reached, because we are in ASCII range
                 // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return $ut8;
+                return $utf8;
 
             case 2:
                 // return a UTF-16 character from a 2-byte UTF-8 char

Modified: plog/trunk/class/logger/config/loggerconfigloader.class.php
===================================================================
--- plog/trunk/class/logger/config/loggerconfigloader.class.php	2007-11-22 08:50:31 UTC (rev 6071)
+++ plog/trunk/class/logger/config/loggerconfigloader.class.php	2007-11-22 08:56:21 UTC (rev 6072)
@@ -23,6 +23,7 @@
 		{
 			// load the config file if it is readable
 			if( File::isReadable( $defaultFilePath )) {
+				global $config;
 				include( $defaultFilePath );
 				$this->_keys = $config;
 			}

Modified: plog/trunk/class/misc/installation.class.php
===================================================================
--- plog/trunk/class/misc/installation.class.php	2007-11-22 08:50:31 UTC (rev 6071)
+++ plog/trunk/class/misc/installation.class.php	2007-11-22 08:56:21 UTC (rev 6072)
@@ -3,6 +3,7 @@
 	{
 	    function check()
 	    {
+	    	global $config;
 	    	include_once( PLOG_CLASS_PATH."config/config.properties.php" );
 	
 		    if ( $config["db_host"] == '' || $config["db_username"] == '' || $config["db_database"] == '' ) {



More information about the pLog-svn mailing list