Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv21946
Modified Files:
serendipity_config.inc.php
Log Message:
Remove E_NOTICE errors if we are in production mode...
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- serendipity_config.inc.php 13 Oct 2003 12:15:44 -0000 1.37
+++ serendipity_config.inc.php 26 Oct 2003 13:18:36 -0000 1.38
@@ -13,6 +13,12 @@
$serendipity['production'] = 1;
$serendipity['rewrite'] = true;
+if ( $serendipity['production'] == 1 ) {
+ error_reporting(E_ALL & ~E_NOTICE);
+} else {
+ error_reporting(E_ALL);
+}
+
// Can the user change the date of publishing for an entry?
$serendipity['allowDateManipulation'] = true;
|