do not show deprecated errors on php 5.3.0+; the rss libraries throw many of them
This commit is contained in:
parent
1f6131f515
commit
8a7f576735
|
@ -1,7 +1,11 @@
|
|||
<?php
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
if (defined('E_DEPRECATED')) {
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
|
||||
} else {
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
}
|
||||
|
||||
require_once 'config.php';
|
||||
|
||||
|
|
Loading…
Reference in New Issue