12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- define('APP_PATH', __DIR__ . '/../application/');
- if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
- header("location:./install.php");
- exit;
- }
- require __DIR__ . '/../thinkphp/base.php';
- \think\Route::bind('admin');
- \think\App::route(false);
- \think\Url::root('');
- \think\App::run()->send();
|