www.gusucode.com > ecShop PHP网上商城系统 粉丝修复版 v2.7.3源码程序 > ecshop_xf_v2.7.3/install/includes/auto_init.php
<?php /* д */ @ini_set('display_errors', 1); error_reporting(E_ALL ^ E_NOTICE); /* к????? */ clearstatcache(); /* ? */ define('ROOT_PATH', str_replace('install/includes/auto_init.php', '', str_replace('\\', '/', __FILE__))); if (isset($_SERVER['PHP_SELF'])) { define('PHP_SELF', $_SERVER['PHP_SELF']); } else { define('PHP_SELF', $_SERVER['SCRIPT_NAME']); } /* 汾? */ define('EC_CHARSET','utf-8'); define('EC_DB_CHARSET','utf8'); require(ROOT_PATH . 'includes/lib_base.php'); require(ROOT_PATH . 'includes/lib_common.php'); require(ROOT_PATH . 'includes/lib_time.php'); /* */ require(ROOT_PATH . 'includes/cls_error.php'); $err = new ecs_error('message.dwt'); /* ?? */ require(ROOT_PATH . 'install/includes/cls_template.php'); $smarty = new template(ROOT_PATH . 'install/templates/'); require(ROOT_PATH . 'install/includes/lib_auto_installer.php'); /* HTTP???UTF8 */ header('Content-type: text/html; charset='.EC_CHARSET); @set_time_limit(360); ?>