- improve error message

This commit is contained in:
Jan Lehnardt 2004-02-14 19:02:23 +00:00
parent 905f4e98a2
commit 4d0ad7fbb7

View File

@ -81,7 +81,7 @@ PHP_FUNCTION(dl)
} else if (PG(safe_mode)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Dynamically loaded extensions aren't allowed when running in Safe Mode");
} else {
zend_error(E_STRICT, "dl() is deprecated - use extension= in your php.ini");
zend_error(E_STRICT, "dl() is deprecated - use extension=%s in your php.ini", Z_STRVAL_PP(file));
php_dl(*file, MODULE_TEMPORARY, return_value TSRMLS_CC);
EG(full_tables_cleanup) = 1;
}