Browse Source

Ok, so we do need to rinit here after all.

PHP-5.0
Wez Furlong 22 years ago
parent
commit
9462eb6db5
  1. 8
      ext/standard/dl.c

8
ext/standard/dl.c

@ -241,6 +241,14 @@ void php_dl(pval *file, int type, pval *return_value TSRMLS_DC)
DL_UNLOAD(handle);
RETURN_FALSE;
}
if ((type == MODULE_TEMPORARY) && module_entry->request_startup_func) {
if (module_entry->request_startup_func(type, module_entry->module_number TSRMLS_CC)) {
php_error_docref(NULL TSRMLS_CC, error_type, "Unable to initialize module '%s'", module_entry->name);
DL_UNLOAD(handle);
RETURN_FALSE;
}
}
RETURN_TRUE;
}

Loading…
Cancel
Save