00001 <?php 00002 // please enable the line below if you are having memory issues 00003 //ini_set('memory_limit', "16M"); 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/controller/admincontroller.class.php" ); 00011 lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" ); 00012 lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" ); 00013 lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" ); 00014 lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" ); 00015 lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' ); 00016 00017 ini_set("arg_seperator.output", "&"); 00018 ini_set("magic_quotes_runtime", 0 ); 00019 00020 // start gathering statistics 00021 Info::startMetrics(); 00022 00023 // 00024 // a security check, or else people might forget to remove the wizard.php script 00025 // 00026 if( File::isReadable( "wizard.php")) { 00027 lt_include( PLOG_CLASS_PATH."install/installation.class.php" ); 00028 Installation::check(); 00029 } 00030 00031 // initialize the session 00032 SessionManager::init(); 00033 00034 $controller = new AdminController(); 00035 00036 // load the plugins, this needs to be done *before* we call the 00037 // Controller::process() method, as some of the plugins _might_ 00038 // add new actions to the controller 00039 $pluginManager =& PluginManager::getPluginManager(); 00040 $pluginManager->loadPlugins( "admin" ); 00041 00042 // give control to the, ehem, controller :) 00043 $controller->process( HttpVars::getRequest()); 00044 00045 // log statistics, only for debugging purposes 00046 //Info::logMetrics(); 00047 ?>
| © 2008 LifeType. All rights reserved. | International | Germany | Taiwan | Russia | Ukraine | Sitemap | Contact | Hosting by Lime Daley |