首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
smarty中访问PHP自定义常量的坑
smarty中访问PHP自定义常量的坑
it
2023-04-05
71
define 定义需要在实例化smarty之前 否则无法显示出来
require './libs/Smarty.class.php'; define('MAN','name'); //定义常量应该放在实例smarty之前 $smarty=new Smarty();
转载请注明原文地址: https://lol.8miu.com/read-3749.html
最新回复
(
0
)