MFB: -r1.100.2.3.2.5

This commit is contained in:
Jani Taskinen 2007-08-23 13:09:27 +00:00
parent af83e1cad2
commit 197b51e796

View file

@ -278,8 +278,10 @@ PS_OPEN_FUNC(files)
/* if save path is an empty string, determine the temporary dir */ /* if save path is an empty string, determine the temporary dir */
save_path = php_get_temporary_directory(); save_path = php_get_temporary_directory();
if (php_check_open_basedir(save_path TSRMLS_CC)) { if (strcmp(save_path, "/tmp")) {
return FAILURE; if (php_check_open_basedir(save_path TSRMLS_CC)) {
return FAILURE;
}
} }
} }