00001 <?php
00002
00003 if (!defined( "PLOG_CLASS_PATH" )) {
00004 define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
00005 }
00006
00007 include_once( PLOG_CLASS_PATH."class/bootstrap.php" );
00008 lt_include( PLOG_CLASS_PATH."class/summary/controller/summarycontroller.class.php" );
00009 lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
00010 lt_include( PLOG_CLASS_PATH."class/misc/version.class.php" );
00011 lt_include( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
00012 lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
00013 lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
00014 lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
00015
00016 define( "SUMMARY_DEFAULT_BLOGS_PER_PAGE", 25 );
00017
00018
00019
00020
00021 if( is_readable( "wizard.php")) {
00022 lt_include( PLOG_CLASS_PATH."install/installation.class.php" );
00023 Installation::check();
00024 }
00025
00026
00027
00028 $config =& Config::getConfig();
00029 if( $config->getValue( "subdomains_enabled") && Subdomains::isSubdomainUrl()) {
00030 $indexPage = $config->getValue( "script_name", "index.php" );
00031 lt_include( PLOG_CLASS_PATH.$indexPage );
00032 die();
00033 }
00034
00035
00036 SessionManager::init();
00037
00039 $controller = new SummaryController();
00040 $controller->process( HttpVars::getRequest());
00041 ?>