[pLog-svn] r970 - plog/trunk
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Feb 6 15:45:50 GMT 2005
Author: oscar
Date: 2005-02-06 15:45:49 +0000 (Sun, 06 Feb 2005)
New Revision: 970
Modified:
plog/trunk/error.php
Log:
corrected some indexing issues
Modified: plog/trunk/error.php
===================================================================
--- plog/trunk/error.php 2005-02-06 15:27:14 UTC (rev 969)
+++ plog/trunk/error.php 2005-02-06 15:45:49 UTC (rev 970)
@@ -27,26 +27,25 @@
* If pLog is running somewhere else other than /plog/, then that
* should be changed since an absolute URL is required.
*/
-
- $config =& Config::getConfig();
- if( $config->getValue( "request_format_mode" ) == SEARCH_ENGINE_FRIENDLY_MODE ) {
- _debug("here?");
- $server = HttpVars::getServer();
- $request = HttpVars::getRequest();
-
- $parts = split( "/", $server["REQUEST_URI"] );
-
- $userParam=$parts[count($parts)-1];
- if( is_numeric($userParam))
- $request["blogId"] = $userParam;
- else
- $request["user"] = $userParam;
-
- HttpVars::setRequest( $request );
-
- include_once ( PLOG_CLASS_PATH."index.php");
- }
- else {
- include_once( PLOG_CLASS_PATH."blog.php" );
- }
-?>
+ $config =& Config::getConfig();
+
+ if( $config->getValue( "request_format_mode" ) == SEARCH_ENGINE_FRIENDLY_MODE ) {
+ $server = HttpVars::getServer();
+ $request = HttpVars::getRequest();
+
+ $parts = split( "/", $server["REQUEST_URI"] );
+
+ $userParam=$parts[count($parts)-1];
+ if( is_numeric($userParam))
+ $request["blogId"] = $userParam;
+ else
+ $request["user"] = $userParam;
+
+ HttpVars::setRequest( $request );
+
+ include_once ( PLOG_CLASS_PATH."index.php");
+ }
+ else {
+ include_once( PLOG_CLASS_PATH."blog.php" );
+ }
+?>
\ No newline at end of file
More information about the pLog-svn
mailing list