[pLog-svn] r3960 - plog/branches/lifetype-1.1.1/class/net
Oscar Renalias
oscar at renalias.net
Sun Sep 17 17:23:27 GMT 2006
Does your .htaccess contain something like this?
<Files page>
ForceType application/x-httpd-php
</Files>
On 17 Sep 2006, at 19:09, BalearWeb wrote:
> Ups, sorry, ther is.... I thought you meant if it was something
> done by ours.
>
> <?php
> if (!defined( "PLOG_CLASS_PATH" )) {
> define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
> }
>
> include_once( PLOG_CLASS_PATH."class/net/http/
> httpvars.class.php" );
> include_once( PLOG_CLASS_PATH."class/net/
> prettyrequestparser.class.php" );
> include_once( PLOG_CLASS_PATH."class/net/
> requestgenerator.class.php" );
> include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
>
> // get the configuration data
> $config =& Config::getConfig();
> // in order to maintain compatilibity with previous version,
> and the alternative
> // format of search-engine friendly urls
> if( $config->getValue( "request_format_mode" ) ==
> SEARCH_ENGINE_FRIENDLY_MODE ) {
> $server = HttpVars::getServer();
> $parser = new PrettyRequestParser( "page", $server
> ["PATH_INFO"]);
> $result = $parser->parse();
> HttpVars::setRequest( $result );
> include_once( "index.php" );
> }
> else {
> include_once( PLOG_CLASS_PATH."blog.php" );
> }
> ?>
>
> Elena
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list