123456789101112131415161718192021222324252627282930313233343536373839 |
- <?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();
|