123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace think;
- define("APP_DEBUG", true);
- define('CMF_ROOT', __DIR__ . '/');
- define('CMF_DATA', CMF_ROOT . 'data/');
- define('WEB_ROOT', __DIR__ . '/public/');
- define('APP_PATH', CMF_ROOT . 'app/');
- define('RUNTIME_PATH', CMF_ROOT . 'data/runtime_cli/');
- require __DIR__ . '/vendor/thinkphp/base.php';
- Container::get('app', [APP_PATH])->initialize();
- Console::init();
|