第一句子网 - 唯美句子、句子迷、好句子大全
第一句子网 > {insert_scripts files= common.js } 这里脚本的实际路径是什么?

{insert_scripts files= common.js } 这里脚本的实际路径是什么?

时间:2019-11-22 04:10:33

相关推荐

{insert_scripts files= common.js }  这里脚本的实际路径是什么?

后端开发|php教程

smarty,php,ecshop

后端开发-php教程

在 ecshop 中的page_common.lbi中有这一样一句: {insert_scripts files=’common.js’}

在线播放视频网站源码,ueif安装ubuntu,下载的tomcat打不开,杭州爬虫python,php页面缓存流程详解,零距离seo百度推广lzw

这边的 common.js 的实际路径是怎样的??

图文发布php源码,ubuntu语言支持包,爬虫高手 需要多久,php randrom,漯河seo排名lzw

ecshop中的smarty模板的 insert_scripts 语法是怎样的?

android 背单词源码,ubuntu自动清除内存,nginx如何禁用爬虫,php 5.2.5.5,seo博客muyeseolzw

回复内容:

在 ecshop 中的page_common.lbi中有这一样一句: {insert_scripts files=’common.js’}

这边的 common.js 的实际路径是怎样的??

ecshop中的smarty模板的 insert_scripts 语法是怎样的?

应该是用的根目录的

源码里面搜索下

includes目录里面

lib_common.php 1390行

cls_template.php 1052行

<?php/** * 页面上调用的js文件 * * @access public * @param string$files * @return void */function smarty_insert_scripts($args){ static $scripts = array(); $arr = explode(,, str_replace( ,\,$args[files])); $str = \; foreach ($arr AS $val) { if (in_array($val, $scripts) == false) { $scripts[] = $val; if ($val{0} == .) {$str .= \; } else {$str .= \; } } } return $str;}?>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。