如何禁用Joomla中已弃用的邮件? [英] How to disable deprecated messages in Joomla?
本文介绍了如何禁用Joomla中已弃用的邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用Joomla v1.5,安装相同的组件后,我得到了不推荐的消息 - 如何在Joomla中禁用此消息?我不能禁用它在php.ini,因为我没有访问php在服务器。
I use Joomla v1.5, and after installing same components I got deprecated messages - how can I disable this messages in Joomla? I can't disable it in php.ini, because I don't have access for php in server.
推荐答案
放入index.php文件,在此行 define('_JEXEC' ;
,此语句:
Put in the index.php file, after this line define( '_JEXEC', 1 );
, this statement:
error_reporting(0);
或 pderaaij 说,使用:
error_reporting(E_ALL ^ E_DEPRECATED);
如他所说,
以这种方式显示所有其他错误,除了弃用的
消息。
In this way all of the other errors are shown, except the deprecated messages.
这篇关于如何禁用Joomla中已弃用的邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文