我是admin 发表于 2016-9-15 16:03:09

求助 加载img时报权限拒绝

|
*/
$config['base_url'] = 'http://localhost/CI/';



        <img src="<?php echo base_url('application/views/images/ecshop_logo.gif')?>"" alt="ECSHOP - power for e-commerce" />




Access forbidden!You don't have permission to access the requested object. It is either read-protected or not readable by the server.If you think this is a server error, please contact the webmaster.Error 403localhost
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.21


我是admin 发表于 2016-9-15 18:37:13

+11111111111111111

Hex 发表于 2016-9-15 21:59:01

不要把图片等放到 application 目录下,放到 index.php 所在目录下
页: [1]
查看完整版本: 求助 加载img时报权限拒绝