Searched defs:sys_temp_dir (Results 1 - 2 of 2) sorted by relevance

/PHP_5_6/main/
H A Dphp_globals.h88 char *sys_temp_dir; member in struct:_php_core_globals
H A Dphp_open_temporary_file.c207 /* Is there a temporary directory "sys_temp_dir" in .ini defined? */
209 char *sys_temp_dir = PG(sys_temp_dir); local
210 if (sys_temp_dir) {
211 int len = strlen(sys_temp_dir);
212 if (len >= 2 && sys_temp_dir[len - 1] == DEFAULT_SLASH) {
213 temporary_directory = estrndup(sys_temp_dir, len - 1);
215 } else if (len >= 1 && sys_temp_dir[len - 1] != DEFAULT_SLASH) {
216 temporary_directory = estrndup(sys_temp_dir, len);

Completed in 2 milliseconds