diff options
-rw-r--r-- | it.class | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1082,16 +1082,4 @@ static function mod($a, $n) return (($a % $n) + $n) % $n; } -/** - * Same as php tempnam() but $dir defaults to tmp/ in service home - */ -static function tempnam($dir, $prefix) -{ - $dir = $dir ?: $GLOBALS['ULTRAHOME'] . "/tmp"; - if (!is_writable($dir)) - it::error("tempnam: '$dir' not writable"); - - return tempnam($dir, $prefix); -} - } |