如何隐藏应用名admin,让url变成:
http://servername/admin.php/login/index.html
后台入口文件代码如下:
namespace think;
require __DIR__ . '/../vendor/autoload.php';
$http = (new App())->http;
$response = $http->name('admin')->run();
$response->send();
$http->end($response); 最佳答案