]> granicus.if.org Git - php/commit
Implemented Feature #60524 (sys_temp_dir)
authorALeX Kazik <git@kazik.de>
Fri, 18 Jan 2013 16:13:39 +0000 (17:13 +0100)
committerStanislav Malyshev <stas@php.net>
Tue, 29 Jan 2013 06:37:43 +0000 (22:37 -0800)
commit475a644bd84c071da04b4272b829a187a2c6d282
tree0fdffe041ec37fbacf13d56d9c9b842a0f17073c
parenta9d013bb020591cb6306afa2748da80f68b81f56
Implemented Feature #60524 (sys_temp_dir)

Added a new configuration directive which allows it to change the
temporary directory, the default behavior is unchanged.

This is a useful option if you use all/some hosts inside of one .ini file
with sections and want to change the temp dir per user (maybe it's not
allowed to write outside the users home directory). Since the TMPDIR
variable affects the whole php that way can not be used for this scenario.

(see https://bugs.php.net/bug.php?id=60524)
main/main.c
main/php_globals.h
main/php_open_temporary_file.c
php.ini-development
php.ini-production
tests/basic/req60524.phpt [new file with mode: 0644]