SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年11月09日 16:22:49
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'))
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /