Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv14783/lib
Modified Files:
config.php
Log Message:
Comment out putenv(LANG) which causes trouble when PHP's safe_mode
is enabled. I hope this putenv() is not really necessary --- I
don't think it is.
Index: config.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** config.php 2001/10/29 21:08:09 1.44
--- config.php 2001/11/09 16:22:43 1.45
***************
*** 46,50 ****
// Setup localisation
setlocale(LC_ALL, "$LANG");
! putenv("LC_ALL=$LANG");
if (!function_exists ('gettext'))
--- 46,53 ----
// Setup localisation
setlocale(LC_ALL, "$LANG");
!
! // I think this putenv is unnecessary, and it causes trouble
! // if PHP's safe_mode is enabled:
! //putenv("LC_ALL=$LANG");
if (!function_exists ('gettext'))
|