define('J_PROJ_PATH', __DIR__ . '/'); require J_PROJ_PATH . 'library/define_env.php'; //瀹氫箟application鐩綍 define('APP_PATH', J_PROJ_PATH . 'application/'); if (false !== strpos($_SERVER['HTTP_HOST'], 'admin.' . J_DOMAIN)) { define('BIND_MODULE', 'Admin'); } else if (false !== strpos($_SERVER['HTTP_HOST'], 'dev.' . J_DOMAIN)) { define('BIND_MODULE', 'Dev'); } else { define('BIND_MODULE', 'Home'); } require J_PROJ_PATH . 'library/define.php'; require J_LIB_PATH . 'ThinkPHP/ThinkPHP.php';