0
我开发了一个在localhost上完美工作的网站。但是,当我主持css
时,js
,images
和fonts
未链接。CodeIgniter网站无法主机
您可以在http://think-exam.site88.net/
这里是我的config.php
$config['base_url'] = '';
$config['index_page'] = 'index.php';
url
赫普勒还装载。
的文件夹结构是等预先
- root
-public html
- application
- system
- assets
- css
- js
index.php
感谢。
检查你的base_url()我认为这是base_url()问题。你可以请你发布你的配置文件数据。 –
注意:在旧版本的codeIgniter中,您可以将config_php中的base_url配置为空,但现在在codeIgniter 3及更高版本中,最好将config_php中的base_url设置为不变,并且不要留空。还要确保在codeIgniter的新版本中只有文件名和类名的首字母大写。 – user4419336