...
|
...
|
@@ -7,13 +7,13 @@ define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀 |
|
|
define('USE_CACHE', false); // 缓存的开关
|
|
|
define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
|
|
|
define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录
|
|
|
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'production');
|
|
|
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
|
|
|
|
|
|
define('API_URL', 'http://api.yoho.yohoops.org/');
|
|
|
define('SERVICE_URL', 'http://service.yoho.yohoops.org/');
|
|
|
define('API_URL', 'http://testapi.yoho.cn:28078/');
|
|
|
define('SERVICE_URL', 'http://testservice.yoho.cn:28077/');
|
|
|
define('YOHOBUY_URL', 'http://www.yohobuy.com/');
|
|
|
define('SERVICE_NOTIFY', 'http://service.yoho.cn/');
|
|
|
define('API_OLD', 'http://api2.open.yohobuy.com/');
|
|
|
define('SERVICE_NOTIFY', 'http://testservice.yoho.cn:28077/');
|
|
|
define('API_OLD', 'http://test2.open.yohobuy.com/');
|
|
|
|
|
|
$application = new Application(APPLICATION_PATH . '/configs/application.developer.ini');
|
|
|
$application->bootstrap()->run(); |
|
|
\ No newline at end of file |
...
|
...
|
|