1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Disable overriding of PHP's error_reporting and display_errors
settings inside scuttle. We leave it up to the administrator to configure
these correctly through php.ini.
Bug-Debian: http://bugs.debian.org/704300
diff -ur scuttle-0.7.4.orig/header.inc.php scuttle-0.7.4/header.inc.php
--- scuttle-0.7.4.orig/header.inc.php 2008-07-16 18:48:39.000000000 +0200
+++ scuttle-0.7.4/header.inc.php 2013-04-01 10:08:29.000000000 +0200
@@ -1,8 +1,8 @@
<?php
-ini_set('display_errors', '1');
+//ini_set('display_errors', '1');
ini_set('mysql.trace_mode', '0');
-error_reporting(E_ALL ^ E_NOTICE);
+//error_reporting(E_ALL ^ E_NOTICE);
define('DEBUG', true);
session_start();
|