Skip to content

Commit 24236fb

Browse files
committed
fix patch for 5.4
1 parent 2cae43d commit 24236fb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/soap/soap.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ ZEND_INI_MH(OnUpdateCacheMode)
481481

482482
static PHP_INI_MH(OnUpdateCacheDir)
483483
{
484-
/* Only do the safemode/open_basedir check at runtime */
484+
/* Only do the open_basedir check at runtime */
485485
if (stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) {
486486
char *p;
487487

@@ -500,10 +500,6 @@ static PHP_INI_MH(OnUpdateCacheDir)
500500
p = new_value;
501501
}
502502

503-
if (PG(safe_mode) && *p && (!php_checkuid(p, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
504-
return FAILURE;
505-
}
506-
507503
if (PG(open_basedir) && *p && php_check_open_basedir(p TSRMLS_CC)) {
508504
return FAILURE;
509505
}

0 commit comments

Comments
 (0)