cvs: php4 /ext/standard dl.c
| From: | Zeev Suraski | Date: | Sun, 05 Nov 2000 15:03:41 +0000 |
| Subject: | cvs: php4 /ext/standard dl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2481@lists.php.net to get a copy of this message | ||
zeev Sun Nov 5 07:03:41 2000 EDT
Modified files:
/php4/ext/standard dl.c
Log:
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)
Index: php4/ext/standard/dl.c
diff -u php4/ext/standard/dl.c:1.48 php4/ext/standard/dl.c:1.49
--- php4/ext/standard/dl.c:1.48 Thu Aug 31 12:49:36 2000
+++ php4/ext/standard/dl.c Sun Nov 5 07:03:41 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dl.c,v 1.48 2000/08/31 19:49:36 andi Exp $ */
+/* $Id: dl.c,v 1.49 2000/11/05 15:03:41 zeev Exp $ */
#include "php.h"
#include "dl.h"
@@ -100,9 +100,9 @@
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);