12345678910111213141516171819202122232425262728 |
- <?php
- header('Access-Control-Allow-Origin:*');
- header('Access-Control-Allow-Methods:*');
- header('Access-Control-Allow-Headers:x-requested-with,content-type');
- define('APP_PATH', __DIR__ . '/../application/');
- define('UPLOAD_PATH', __DIR__ . '/../public');
- define('RUNTIME_PATH', __DIR__ . '/../runtime/');
- define('APP_DEBUG', true);
- require __DIR__ . '/../thinkphp/start.php';
|