00001 <?php
00002
00003
00004
00005 if (!defined( "PLOG_CLASS_PATH" )) {
00006 define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
00007 }
00008
00009 include_once( PLOG_CLASS_PATH."class/bootstrap.php" );
00010 lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
00011
00012
00013
00014
00015
00016
00017 ini_set("arg_seperator.output", "&");
00018 ini_set("magic_quotes_runtime", 0 );
00019
00020
00021
00022
00023 if( File::isReadable( "wizard.php")) {
00024 lt_include( PLOG_CLASS_PATH."install/installation.class.php" );
00025 Installation::check();
00026 }
00027
00028
00029 lt_include( PLOG_CLASS_PATH."plugins/badbehavior/index.inc.php" );
00030 lt_include( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
00031 lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
00032 lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
00033 lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
00034 lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
00035 lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
00036
00037
00038
00039
00040 SessionManager::init();
00041
00042 $controller = new BlogController();
00043
00044
00045
00046
00047 $pluginManager =& PluginManager::getPluginManager();
00048 $pluginManager->loadPlugins( "index" );
00049
00050
00051 $controller->process( HttpVars::getRequest());
00052
00053
00054
00055 ?>