Home > Backend Development > PHP Tutorial > 当xtree.js遇见ci框架,路径找不到。

当xtree.js遇见ci框架,路径找不到。

WBOY
Release: 2016-06-23 13:45:42
Original
791 people have browsed it



因为有控制器和方法, 而xtree.js是可以配置自己图片路径的

正常应该是


先谢谢了!


回复讨论(解决方案)

直接写的绝对路径  http://www.XXXXX.com:81/images/blank.png  好了


不发贴没灵感啊 ,有更好的方法愿意听听,谢谢


<script type="text/javascript">   var   weblink = '<?php echo base_url()?>';  //weblink 就是index.php的路?</script> 
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template