[pLog-svn] r5926 - plog/branches/lifetype-1.2

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Sep 11 15:14:38 EDT 2007


Author: mark
Date: 2007-09-11 15:14:37 -0400 (Tue, 11 Sep 2007)
New Revision: 5926

Modified:
   plog/branches/lifetype-1.2/blog.php
   plog/branches/lifetype-1.2/error.php
Log:
Weird, why these code never got errors.

The request_format_mode is defined in requestgenerator.class.php instead of baserequestgenerator.class.php.

So, the SEARCH_ENGINE_FRIENDLY_MODE is always NULL when we check the request_format_mode to decide which request parser to use.

Modified: plog/branches/lifetype-1.2/blog.php
===================================================================
--- plog/branches/lifetype-1.2/blog.php	2007-09-11 05:09:42 UTC (rev 5925)
+++ plog/branches/lifetype-1.2/blog.php	2007-09-11 19:14:37 UTC (rev 5926)
@@ -8,7 +8,8 @@
     lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
     lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/net/customurlhandler.class.php" );
-	lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );	
+	lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
     
     // get the configuration data
     $config =& Config::getConfig();

Modified: plog/branches/lifetype-1.2/error.php
===================================================================
--- plog/branches/lifetype-1.2/error.php	2007-09-11 05:09:42 UTC (rev 5925)
+++ plog/branches/lifetype-1.2/error.php	2007-09-11 19:14:37 UTC (rev 5926)
@@ -8,7 +8,7 @@
     lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
     lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
-	lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
 
     /**
      * Implements an error handler for 401, 403 and 404 errors so that



More information about the pLog-svn mailing list