summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-04 14:02:47 +0100
committerAndrew Dolgov <[email protected]>2007-03-04 14:02:47 +0100
commitd65981e27ff5aad381ca0357eee56667f388e2b7 (patch)
treec0d4dc87e13d15f5a8eb82ce55ada7955506997f
parent12e895ee9886bfa676f6185f37e6f05d2548e292 (diff)
set required error_reporting just in case
-rw-r--r--backend.php3
-rw-r--r--opml.php2
-rw-r--r--prefs.php2
-rw-r--r--tt-rss.php2
-rw-r--r--update.php2
5 files changed, 10 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 1a53d1c68..d2f3d356b 100644
--- a/backend.php
+++ b/backend.php
@@ -1,8 +1,9 @@
<?php
+ error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
require_once "sessions.php";
require_once "modules/backend-rpc.php";
-
/* if ($_GET["debug"]) {
define('DEFAULT_ERROR_LEVEL', E_ALL);
} else {
diff --git a/opml.php b/opml.php
index d6ecbbda3..fd93acd2d 100644
--- a/opml.php
+++ b/opml.php
@@ -1,4 +1,6 @@
<?php
+ error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
require_once "sessions.php";
require_once "sanity_check.php";
require_once "functions.php";
diff --git a/prefs.php b/prefs.php
index 93c246b90..f9ddee82e 100644
--- a/prefs.php
+++ b/prefs.php
@@ -1,4 +1,6 @@
<?php
+ error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
require_once "functions.php";
require_once "sessions.php";
require_once "sanity_check.php";
diff --git a/tt-rss.php b/tt-rss.php
index 5adb8dbf7..fe7cc01ae 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -1,4 +1,6 @@
<?php
+ error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
require_once "functions.php";
require_once "sessions.php";
require_once "sanity_check.php";
diff --git a/update.php b/update.php
index 4e1eb923a..514e01045 100644
--- a/update.php
+++ b/update.php
@@ -1,4 +1,6 @@
<?php
+ error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
require_once "sessions.php";
require_once "sanity_check.php";