Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Zencart 中是否有任何函数可以返回基本路径?
通过HTTP_SERVER,DIR_WS_CATALOG你可以得到网址
HTTP_SERVER
DIR_WS_CATALOG
尽管
通过DIR_FS_CATALOG您可以获得绝对文件路径
DIR_FS_CATALOG
这些是在包含文件夹中的配置文件中定义的常量。
无需使用任何功能