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