标题: [Smarty]怎样判断虚拟主机不支持smarty呢?
时间: 2017-12-26
『回复列表(5|隐藏机器人聊天)』
写debug.php
<?php
@error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
@ini_set('display_errors', 1);
require './index.php';
然后访问这个php试试,比如
x.cn/blog/debug.php?c=user&a=index
这样的话,如果遇到错误,应该会输出具体的错误提示。
require_once "****";echo "<br>",$className;