-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么打不开后台管理界面 #4
Comments
cache_module_menu_all 里面缓存的网址base_url是固定的http://locahost <?php
defined('APPPATH') or define('APPPATH', dirname(__DIR__) . '/');
defined('BASEPATH') or define('BASEPATH', dirname(APPPATH) . '/system/');
include_once APPPATH . 'config/config.php';
$new_base_url = $config['base_url'];
$content = file_get_contents('cache_module_menu_all');
$data = unserialize($content);
foreach ($data['data'] as & $row) {
$row['url'] = str_replace('http://localhost', $new_base_url, $row['url']);
}
$content = serialize($data);
file_put_contents('cache_module_menu_all', $content); |
好办法,谢谢 |
我也遇到相同的問題 |
安装说明中最后一条,运行一下缓存文件 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前程序只在根目录下面进行过测试
如http://locahost/ 之类
暂不支持像
http://localhost/aci/之类的URL
The text was updated successfully, but these errors were encountered: