[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 // please enable the line below if you are having memory issues 3 //ini_set('memory_limit', "16M"); 4 5 if (!defined( "PLOG_CLASS_PATH" )) { 6 define( "PLOG_CLASS_PATH", dirname(__FILE__)."/"); 7 } 8 9 include_once ( PLOG_CLASS_PATH."class/bootstrap.php" ); 10 lt_include( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" ); 11 lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" ); 12 lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" ); 13 lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" ); 14 lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" ); 15 lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' ); 16 17 ini_set("arg_seperator.output", "&"); 18 ini_set("magic_quotes_runtime", 0 ); 19 20 // start gathering statistics 21 Info::startMetrics(); 22 23 // 24 // a security check, or else people might forget to remove the wizard.php script 25 // 26 if( File::isReadable( "wizard.php")) { 27 lt_include( PLOG_CLASS_PATH."install/installation.class.php" ); 28 Installation::check(); 29 } 30 31 // initialize the session 32 SessionManager::init(); 33 34 $controller = new AdminController(); 35 36 // load the plugins, this needs to be done *before* we call the 37 // Controller::process() method, as some of the plugins _might_ 38 // add new actions to the controller 39 $pluginManager =& PluginManager::getPluginManager(); 40 $pluginManager->loadPlugins( "admin" ); 41 42 // give control to the, ehem, controller :) 43 $controller->process( HttpVars::getRequest()); 44 45 // log statistics, only for debugging purposes 46 //Info::logMetrics(); 47 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |