<?php
require('libs/Smarty.class.php');
$smarty = new Smarty;
//$smarty->force_compile = true;
$smarty->template_dir = 'templates';
$smarty->compile_dir = 'templates_c';
$smarty->config_dir = 'configs';
$smarty->cache_dir = 'cache';
$smarty->left_delimiter = "<{";
$smarty->right_delimiter = "}>";
$smarty->debugging = false;
$smarty->caching = true;
$smarty->allow_php_templates= true;
$smarty->force_compile = false;
$smarty->cache_lifetime = 0;
?>
其中的debugging=true;为什么会弹出对话框
require('libs/Smarty.class.php');
$smarty = new Smarty;
//$smarty->force_compile = true;
$smarty->template_dir = 'templates';
$smarty->compile_dir = 'templates_c';
$smarty->config_dir = 'configs';
$smarty->cache_dir = 'cache';
$smarty->left_delimiter = "<{";
$smarty->right_delimiter = "}>";
$smarty->debugging = false;
$smarty->caching = true;
$smarty->allow_php_templates= true;
$smarty->force_compile = false;
$smarty->cache_lifetime = 0;
?>
其中的debugging=true;为什么会弹出对话框
解决方案 »
- 文件上传在$.ajax post提交的方式下面 $_FILES取不到信息
- 什么叫“字符编码循环漏洞”
- PHP截取字符串问题
- 如果插入的数据超过了字段的长度,mysql是否会自动截断?
- 请问百度编辑器怎么用啊?
- 这是一个小偷程序,但为什么字符串写成这样却不能赋值??
- 请问各位高手: php 连接 mysql 出错!
- 俺找到的一个很不错的php技术论坛!~~~~~~~~~~~
- 怎样才能把PHP程序做成安装文件,
- PHP本地运行没有问题,上传到linux服务器后所有的css、js加载失败,跪求大神
- mysql 复选框和单选框用什么字段表示
- 见鬼了,总是重复循环数据库中一条记录,为啥啊?大家帮我看看~
这个是smarty调试报错的配置,如果为false的话smarty出错了就什么都没有
你调试起来就不是很方便