mirror of
https://github.com/php/php-src.git
synced 2026-04-10 17:43:13 +02:00
Fix the problem Sascha reported, about extension_dir
@- Fixed a bug that prevented a changed compile-time extension_dir from @ affecting modules that were loaded via php.ini (Zeev)
This commit is contained in:
@@ -100,9 +100,9 @@ void php_dl(pval *file, int type, pval *return_value)
|
||||
|
||||
|
||||
if (type==MODULE_PERSISTENT) {
|
||||
/* Use the configuration hash directly */
|
||||
/* Use the configuration hash directly, the INI mechanism is not yet initialized */
|
||||
if (cfg_get_string("extension_dir", &extension_dir)==FAILURE) {
|
||||
extension_dir = NULL;
|
||||
extension_dir = PHP_EXTENSION_DIR;
|
||||
}
|
||||
} else {
|
||||
extension_dir = PG(extension_dir);
|
||||
|
||||
Reference in New Issue
Block a user