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