smarty模板中的斜杠的定义毕竟在哪里

WBOY
Release: 2016-06-13 12:32:18
Original
838 people have browsed it

smarty模板中的斜杠的定义到底在哪里
smarty模板中的DS是这样定义的:
if (!defined('DS')) {
    define('DS', DIRECTORY_SEPARATOR);
}
问了一下明白人,说,这个DS即为分隔符的意思,代表那个"/",但我找了一下smarty中的文件,没有发现这个斜杠呢?

smarty
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!