#1 kaijun18
PHP Notice: Undefined property: Smarty::$displayed in D:\webwww\产品网站\spthreeone\SpeedPHP\Drivers\Smarty\Smarty.class.php on line 671PHP Notice: Undefined property: Smarty::$engine in D:\webwww\产品网站\spthreeone\SpeedPHP\Drivers\Smarty\Smarty.class.php on line 671程序源码无改动,只是设置了:
$spConfig=array(
'view'=>array(
'enabled'=>TRUE,
'config'=>array(
'template_dir'=>APP_PATH.'/tpl',
'compile_dir'=>APP_PATH.'/tmp',
'cache_dir'=>APP_PATH.'/tmp',
'left_delimiter'=>'{',
'right_delimiter'=>'}',
'auto_literal'=>TRUE,
),
'debugging'=>FALSE,
'engine_name'=>'Smarty',
'engine_path'=>SP_PATH.'/Drivers/Smarty/Smarty.class.php',
'auto_ob_start'=>TRUE,
'auto_display'=>TRUE,
'auto_display_sep'=>'/',
'auto_display_suffix'=>'.html',
)
);
请问我需要做才能继续使用模板自动显示?还是说要放弃这个自动显示的功能?
2017-03-06 14:10:30