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

/PHP_TRUNK/main/
H A Dphp_open_temporary_file.c199 /* Is there a temporary directory "sys_temp_dir" in .ini defined? */
201 char *sys_temp_dir = PG(sys_temp_dir); local
202 if (sys_temp_dir) {
203 int len = strlen(sys_temp_dir);
204 if (len >= 2 && sys_temp_dir[len - 1] == DEFAULT_SLASH) {
205 temporary_directory = zend_strndup(sys_temp_dir, len - 1);
207 } else if (len >= 1 && sys_temp_dir[len - 1] != DEFAULT_SLASH) {
208 temporary_directory = zend_strndup(sys_temp_dir, len);
H A Dphp_globals.h88 char *sys_temp_dir; member in struct:_php_core_globals

Completed in 4 milliseconds