|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2005, PHP 5.1
- Fixed bug #33917 (number_format() output with > 1 char separators). (Jani)
+- Fixed bug #33899 (CLI: setting extension_dir=some/path extension=foobar.so
+ does not work). (Jani)
- Fixed bug #33882 (CLI was looking for php.ini in wrong path). (Hartmut)
- Fixed bug #33869 (strtotime() problem with "+1days" format). (Ilia)
- Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
#include "php.h"
#include "dl.h"
#include "php_globals.h"
+#include "php_ini.h"
#include "ext/standard/info.h"
+
#include "SAPI.h"
#if defined(HAVE_LIBDL) || HAVE_MACH_O_DYLD_H
int error_type;
char *extension_dir;
- if (type==MODULE_PERSISTENT) {
- /* Use the configuration hash directly, the INI mechanism is not yet initialized */
- if (cfg_get_string("extension_dir", &extension_dir)==FAILURE) {
- extension_dir = PHP_EXTENSION_DIR;
- }
+ if (type == MODULE_PERSISTENT) {
+ extension_dir = INI_STR("extension_dir");
} else {
extension_dir = PG(extension_dir);
}
- if (type==MODULE_TEMPORARY) {
+ if (type == MODULE_TEMPORARY) {
error_type = E_WARNING;
} else {
error_type = E_CORE_WARNING;