blsn.net
当前位置:首页 >> yii2 gEt BAsE pAth >>

yii2 gEt BAsE pAth

aa

use Yii; define("BASEPATH",\Yii::$app->basePath); require_once \Yii::$app->basePath."/libs/smarty/Smarty.class.php"; define('SMARTY_TMPDIR',BASEPATH.'/views/templates/');//放置模版的目录 //自己创建 define('SMARTY_CACHEDIR',BASE...

网站首页 | 网站地图
All rights reserved Powered by www.blsn.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com