Searched refs:TMPDIR (Results 1 – 14 of 14) sorted by relevance
9 define("TMPDIR", __DIR__ . "/");11 $file = TMPDIR . 'bug78641';15 $zip->open(TMPDIR . "bug78641.zip", ZipArchive::CREATE | ZipArchive::OVERWRITE);16 var_dump(basename(TMPDIR));17 $zip->addGlob($file, 0, ["remove_path" => TMPDIR]);18 var_dump(basename(TMPDIR));
38 if (!empty($_ENV['TMPDIR']))39 return realpath( $_ENV['TMPDIR'] );
126 if (!empty($_ENV['TMPDIR']))127 return realpath( $_ENV['TMPDIR'] );
36 if (!empty($_ENV['TMPDIR']))37 return realpath( $_ENV['TMPDIR'] );
119 …{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp…120 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||121 …{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure…122 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
426 if [ ".$TMPDIR" != . ]; then427 tmpdir="$TMPDIR"
243 if ($var = getenv('TMPDIR')) {537 if ($var = getenv('TMPDIR')) {839 if ($var = getenv('TMPDIR')) {
263 if ($var = getenv('TMPDIR')) {558 if ($var = getenv('TMPDIR')) {853 if ($var = getenv('TMPDIR')) {
207 if ($var = getenv('TMPDIR')) {
413 ;env[TMPDIR] = /tmp
Completed in 22 milliseconds