We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在输出后面加上exit(); 应该就可以防止trace信息输出了吧
//ueditor编辑器配置 public function ueditor(){ $data = new \Org\Util\Ueditor(); echo $data->output(); exit(); // 防止调试信息输出 }
The text was updated successfully, but these errors were encountered:
也可以调用C方法临时关闭本页面trace; public function ueditor(){ C('SHOW_PAGE_TRACE',false); $data = new \Org\Util\Ueditor(); echo $data->output(); }
Sorry, something went wrong.
应该使用$this->ajaxReturn( $data->output())进行返回比较妥当
经测试,在Ueditor.class.php的构造函数中,加入代如下代码可关闭trace,同时,不影响trace的使用。 //手动半闭trace防止json数据返回错误。 C('SHOW_PAGE_TRACE',false); 最后,谢谢作者的辛勤劳动。
No branches or pull requests
在输出后面加上exit(); 应该就可以防止trace信息输出了吧
//ueditor编辑器配置
public function ueditor(){
$data = new \Org\Util\Ueditor();
echo $data->output();
exit(); // 防止调试信息输出
}
The text was updated successfully, but these errors were encountered: