Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed May 23, 2005
1 parent 1417cba commit 26d7b7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/session/session.c
Expand Up @@ -131,9 +131,10 @@ static PHP_INI_MH(OnUpdateSerializer)
return SUCCESS;
}

static PHP_INI_MH(OnUpdateSaveDir) {
static PHP_INI_MH(OnUpdateSaveDir)
{
/* Only do the safemode/open_basedir check at runtime */
if(stage == PHP_INI_STAGE_RUNTIME) {
if (stage == PHP_INI_STAGE_RUNTIME) {
if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_ALLOW_ONLY_DIR))) {
return FAILURE;
}
Expand Down

0 comments on commit 26d7b7f

Please sign in to comment.