Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2044
GlobalFunctions.php.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:30 PM
2014-11-21 20:30:00 (UTC+0)
Size
624 B
Referenced Files
None
Subscribers
None
GlobalFunctions.php.patch
View Options
Index: includes/GlobalFunctions.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/GlobalFunctions.php,v
retrieving revision 1.185
diff -u -r1.185 GlobalFunctions.php
--- includes/GlobalFunctions.php 19 Jun 2005 03:05:50 -0000 1.185
+++ includes/GlobalFunctions.php 22 Jun 2005 16:29:45 -0000
@@ -1221,7 +1221,7 @@
*/
function wfTempDir() {
foreach( array( 'TMPDIR', 'TMP', 'TEMP' ) as $var ) {
- $tmp = getenv( 'TMPDIR' );
+ $tmp = getenv( $var );
if( $tmp && file_exists( $tmp ) && is_dir( $tmp ) && is_writable( $tmp ) ) {
return $tmp;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1621
Default Alt Text
GlobalFunctions.php.patch (624 B)
Attached To
Mode
T4178: Parsertests: Temp dir creation fails on Windows
Attached
Detach File
Event Timeline
Log In to Comment