Home  >  Article  >  Backend Development  >  当xtree.js撞见ci框架,路径找不到

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

WBOY
WBOYOriginal
2016-06-13 12:09:421052browse

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


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

正常应该是


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

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

Statement:
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