[geeklog-cvs] geeklog-1.3/public_html/admin/install install.php,1.64,1.65

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sun May 9 05:13:29 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin/install
In directory www:/tmp/cvs-serv11853

Modified Files:
	install.php 
Log Message:
Test for the existence of 'ini_set' before attempting to use it (may have been disabled by the hosting service).


Index: install.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/install/install.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** install.php	2 Apr 2004 04:42:16 -0000	1.64
--- install.php	9 May 2004 09:13:24 -0000	1.65
***************
*** 40,44 ****
  // this should help expose parse errors (e.g. in config.php) even when
  // display_errors is set to Off in php.ini
! @ini_set ("display_errors", "1");
  error_reporting (E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR);
  
--- 40,46 ----
  // this should help expose parse errors (e.g. in config.php) even when
  // display_errors is set to Off in php.ini
! if (function_exists ('ini_set')) {
!     ini_set ('display_errors', '1');
! }
  error_reporting (E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR);
  




More information about the geeklog-cvs mailing list