Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31285
Modified Files:
serendipity_config.inc.php
Log Message:
use same comment style :)
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- serendipity_config.inc.php 10 Dec 2004 17:02:54 -0000 1.116
+++ serendipity_config.inc.php 10 Dec 2004 17:55:49 -0000 1.117
@@ -24,11 +24,11 @@
// Setting this to 'false' will enable debugging output. All alpa/beta/cvs snapshot versions will emit debug information by default. To increase the debug level (to enable Smarty debugging), set this flag to 'debug'.
$serendipity['production'] = (preg_match('@\-(alpha|beta|cvs)@', $serendipity['version']) ? false : true);
-# Set error reporting
+// Set error reporting
error_reporting(E_ALL & ~E_NOTICE);
if ($serendipity['production'] !== true) {
- if ( $serendipity['production'] == 'debug' ) {
+ if ($serendipity['production'] === 'debug') {
error_reporting(E_ALL);
}
@ini_set('display_errors', 'on');
|