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

/PHP_TRUNK/main/
H A Dphp_globals.h88 char *sys_temp_dir; member in struct:_php_core_globals
H A Dphp_open_temporary_file.c184 /* Is there a temporary directory "sys_temp_dir" in .ini defined? */
186 char *sys_temp_dir = PG(sys_temp_dir); local
187 if (sys_temp_dir) {
188 int len = (int)strlen(sys_temp_dir);
189 if (len >= 2 && sys_temp_dir[len - 1] == DEFAULT_SLASH) {
190 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len - 1);
192 } else if (len >= 1 && sys_temp_dir[len - 1] != DEFAULT_SLASH) {
193 PG(php_sys_temp_dir) = estrndup(sys_temp_dir, len);

Completed in 3 milliseconds