You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
skycaiji/index.php

11 lines
488 B

6 years ago
<?php
// [ 应用入口文件 ]
2 years ago
define('SKYCAIJI_PATH', __DIR__.DIRECTORY_SEPARATOR);
6 years ago
// 定义应用目录
2 years ago
define('VENDOR_PATH', SKYCAIJI_PATH.'vendor'.DIRECTORY_SEPARATOR);
define('APP_PATH', VENDOR_PATH.'skycaiji'.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR);
define('RUNTIME_PATH', SKYCAIJI_PATH.'runtime'.DIRECTORY_SEPARATOR);
6 years ago
define('APP_NAMESPACE', 'skycaiji');
// 加载框架引导文件
2 years ago
require VENDOR_PATH.'skycaiji'.DIRECTORY_SEPARATOR.'tp'.DIRECTORY_SEPARATOR.'start.php';