lifetype/branches/lifetype-1.0.6/index.php
Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006 if (!defined( "PLOG_CLASS_PATH" )) {
00007 define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
00008 }
00009
00010 include_once( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
00011 include_once( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
00012 include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
00013 include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
00014 include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
00015
00016
00017
00018 ini_set("arg_seperator.output", "&");
00019 ini_set("magic_quotes_runtime", 0 );
00020
00021
00022
00023
00024 if( File::isReadable( "wizard.php")) {
00025 print("<span style=\"color:red\">The wizard.php script has to be removed after the installation process.</span><br/><br/>
00026 Please remove it first to continue.");
00027 die();
00028 }
00029
00030
00031 SessionManager::init();
00032
00033 $controller = new BlogController();
00034
00035
00036
00037
00038 $pluginManager =& PluginManager::getPluginManager();
00039 $pluginManager->loadPlugins();
00040
00041
00042 $controller->process( HttpVars::getRequest(), "op");
00043 ?>