[pLog-svn] r6964 - plog/branches/lifetype-1.2
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Jan 18 20:13:58 EST 2010
Author: jondaley
Date: 2010-01-18 20:13:58 -0500 (Mon, 18 Jan 2010)
New Revision: 6964
Modified:
plog/branches/lifetype-1.2/blog.php
Log:
typo. noted case where for custom URLs, error pages are not properly shown when accessing URLs like simply /asdasdad
Modified: plog/branches/lifetype-1.2/blog.php
===================================================================
--- plog/branches/lifetype-1.2/blog.php 2010-01-19 01:12:01 UTC (rev 6963)
+++ plog/branches/lifetype-1.2/blog.php 2010-01-19 01:13:58 UTC (rev 6964)
@@ -14,7 +14,7 @@
// get the configuration data
$config =& Config::getConfig();
- // in order to maintain compatilibity with previous version, and the alternative
+ // in order to maintain compatibility with previous version, and the alternative
// format of search-engine friendly urls
if( $config->getValue( "request_format_mode" ) == SEARCH_ENGINE_FRIENDLY_MODE ) {
lt_include( PLOG_CLASS_PATH."error.php" );
@@ -23,7 +23,9 @@
$server = HttpVars::getServer();
$requestParser = new CustomUrlHandler();
- $requestParser->process( $server["REQUEST_URI"] );
+ // TODO: should check the return value of process() and
+ // then display an error page instead of the home page
+ $requestParser->process($server["REQUEST_URI"]);
$vars = $requestParser->getVars();
$params = $requestParser->getParams();
$includeFile = $requestParser->getIncludeFile();
More information about the pLog-svn
mailing list