summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Wang <gwang@php.net>2018-04-03 11:46:24 -0400
committerGeorge Wang <gwang@php.net>2018-04-03 11:46:24 -0400
commit37e1d7c776617f0ffdd53cb4a710069ba4d9dd5b (patch)
treeac6854fdb04289851d566d7ca6c3de6b1d8e4a5d
parent821f13fd7958caac1e7a605d0df8ad8718fdb699 (diff)
downloadphp-git-37e1d7c776617f0ffdd53cb4a710069ba4d9dd5b.tar.gz
[BUGFIX] allow php_admin_value to override value set in php.ini without restriction, like adding an extra directory to open_basedir.
-rw-r--r--sapi/litespeed/lsapi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
index a2f7ed8f00..7290d190dd 100644
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -574,6 +574,7 @@ static int alter_ini( const char * pKey, int keyLen, const char * pValue, int va
++pKey;
if ( *pKey == 4 ) {
type = ZEND_INI_SYSTEM;
+ stage = PHP_INI_STAGE_ACTIVATE;
}
else
{