config.php定义如下:
$base_config['base_url'] = 'http://localhost/sg-cms/';
$base_config['db_host'] = 'localhost';
$base_config['db_name'] = 'sg-cms';
$base_config['db_user'] = 'root';
$base_config['db_pass'] = '';
$base_config['theme'] = 'basic';
$base_config['allow_5_4'] = false;
$base_config['salt'] = 'dfsfdsfdsfasfafasfsfadfvdfdfsfa';
$base_config['encryption_key'] = 'bjAdffdsfdfadfaJv';
当转到loclhost时,我看到了以下错误:
致命错误:base_url不正确:' http://localhost/sg-cms/'不匹配' http://localhost/SWEBSITES/t_m/website/index.php'在第277行的C:\ wamp \ www \ SWEBSITES \ t_m \ website \ includes \ routing.php
这里究竟出了什么问题,因为看起来当我修复其他东西时会被破坏!