Update of /cvsroot/webnotes/webnotes/core
In directory usw-pr-cvs1:/tmp/cvs-serv15660/core
Modified Files:
php_api.php
Log Message:
- Enhancing the preview to include the start / end parts - not just the note.
- Handled the case of the preview by not display the # 0 and not adding a hyperlink for + images.
- Fixing a couple of warnings with the preview page.
- Enabled E_ALL in phpapi to show warnings in dependent of the server settings.
Index: php_api.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/core/php_api.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- php_api.php 11 Sep 2002 09:49:54 -0000 1.5
+++ php_api.php 12 Sep 2002 12:50:23 -0000 1.6
@@ -17,6 +17,9 @@
# Constant for our minimum required PHP version
define( 'PHP_MIN_VERSION', '4.0.6' );
+ # Show all errors/warnings/notices independent of php.ini settings
+ error_reporting ( E_ALL );
+
# --------------------
# Returns true if the current PHP version is higher than the one
# specified in the given string
|