Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 我在引导插入codeigniter中的模板时遇到问题_Twitter Bootstrap_Codeigniter - Fatal编程技术网

Twitter bootstrap 我在引导插入codeigniter中的模板时遇到问题

Twitter bootstrap 我在引导插入codeigniter中的模板时遇到问题,twitter-bootstrap,codeigniter,Twitter Bootstrap,Codeigniter,显示此错误消息 已阻止加载来自源“”的字体 跨源资源共享策略:无“访问控制允许源” 请求的资源上存在标头。来源“ 因此不允许访问 在htaccess文件中添加此代码 # Allow access from all domains for webfonts. # Alternatively you could only whitelist your # subdomains like "subdomain.example.com". <IfModule mod_headers.c>

显示此错误消息

已阻止加载来自源“”的字体 跨源资源共享策略:无“访问控制允许源” 请求的资源上存在标头。来源“ 因此不允许访问


在htaccess文件中添加此代码

# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like "subdomain.example.com".
<IfModule mod_headers.c>
  <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>
#允许从所有域访问webfonts。
#或者,您只能将您的
#子域,如“subdomain.example.com”。
标题集访问控制允许原点“*”
是否尝试使用谷歌搜索?