r4312 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4311‎ | r4312 | r4313 >
Date:20:46, 17 July 2004
Author:gabrielwicke
Status:old
Tags:
Comment:
same as in HEAD
Modified paths:
  • /branches/REL1_3/phase3/PHPTAL-NP-0.7.0/libs/PHPTAL.php (modified) (history)

Diff [purge]

Index: branches/REL1_3/phase3/PHPTAL-NP-0.7.0/libs/PHPTAL.php
@@ -69,7 +69,8 @@
7070 if (strtoupper(substr(PHP_OS, 0, 3)) == "WIN") {
7171 define('PHPTAL_DEFAULT_CACHE_DIR', getenv("TMP") . "\\");
7272 } else {
73 - define('PHPTAL_DEFAULT_CACHE_DIR', '/tmp/');
 73+ global $wgUploadDirectory;
 74+ define('PHPTAL_DEFAULT_CACHE_DIR', $wgUploadDirectory.'/');
7475 }
7576
7677 /**

Status & tagging log