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

WBOY
Release: 2016-06-13 12:09:42
Original
1049 people have browsed it

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


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

正常应该是


先谢谢了!
------解决思路----------------------

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

Related labels:
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