我上传到主机时我的网站不起作用,但它在localhost中工作.当我尝试访问url时,alwasy显示错误 - 12-01-14 06:33:25 - > 404页面未找到:/ index(日志文件),我收到错误.
这是我的托管用户名和密码访问控制面板:
密码:2142885
已定义('BASEPATH')或退出('不允许直接访问脚本');
function __autoload($ classname){if(strpos($ classname,'CI_')!== 0){$ file = APPPATH.'libraries /'.$ classname.'.PHP'; if(file_exists($ file)){@ include_once($ file); }}}
$ config ['base_url'] ='';
$ config ['index_page'] ='';
$ config ['uri_protocol'] ='PATH_INFO';
$ config ['url_suffix'] ='';
$ config ['language'] ='english';
$ config ['charset'] ='UTF-8';
$ config ['enable_hooks'] = FALSE;
$ config ['subclass_prefix'] ='MY_';
$ config ['composer_autoload'] = FALSE;
$ config ['allowed_uri_chars'] ='az 0-9~%.:_ - ';
$ config ['allow_get_array'] = …