* @site http://www.idreamsoft.com * @licence http://www.idreamsoft.com/license.php * @version 6.0.0 * @$Id: admincp.class.php 2361 2014-02-22 01:52:39Z coolmoo $ */ defined('iPHP') or exit('What are you doing?'); iDB::$show_errors = true; iPHP::$dialog['title'] = 'iCMS'; define('iCMS_SUPERADMIN_UID', '1'); define('__ADMINCP__', __SELF__ . '?app'); define('ACP_PATH', iPHP_APP_DIR . '/admincp'); define('ACP_HOST', "http://" . $_SERVER['HTTP_HOST']); require iPHP_APP_CORE . '/iMenu.class.php'; require iPHP_APP_CORE . '/iMember.class.php'; iMember::$LOGIN_TPL = ACP_PATH; iMember::$AUTH = 'ADMIN_AUTH'; iMember::$AJAX = iPHP::PG('ajax'); $_GET['do'] == 'seccode' && iACP::get_seccode(); class iACP { public static $apps = NULL; public static $frames = NULL; public static $menu = NULL; public static $app = NULL; public static $app_name = NULL; public static $app_do = NULL; public static $app_args = NULL; public static $app_method = NULL; public static $app_tpl = NULL; public static $app_path = NULL; public static $app_file = NULL;