Home  >  Article  >  Backend Development  >  smarty模板中的斜杠的定义毕竟在哪里

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

WBOY
WBOYOriginal
2016-06-13 12:32:18839browse

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

smarty
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