admin.php
查看本檔案說明文件.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/controller/admincontroller.class.php" );
00010 include_once( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
00011 include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
00012 include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
00013 include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
00014
00015 ini_set("arg_seperator.output", "&");
00016 ini_set("magic_quotes_runtime", 0 );
00017
00018
00019
00020
00021 if( File::isReadable( "wizard.php")) {
00022 print("<span style=\"color:red\">The wizard.php script has to be removed after the installation process.</span><br/><br/>
00023 Please remove it first to continue.");
00024 die();
00025 }
00026
00027
00028 SessionManager::init();
00029
00030 $controller = new AdminController();
00031
00032
00033
00034
00035 $pluginManager =& PluginManager::getPluginManager();
00036 $pluginManager->loadPlugins();
00037
00038
00039 $controller->process( HttpVars::getRequest(), "op");
00040 ?>