Page MenuHomePhabricator

GlobalFunctions.php.patch

Authored By
bzimport
Nov 21 2014, 8:30 PM
Size
624 B
Referenced Files
None
Subscribers
None

GlobalFunctions.php.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1621
Default Alt Text
GlobalFunctions.php.patch (624 B)

Event Timeline