From: Maxim Maletsky Date: Thu, 21 Nov 2002 21:26:18 +0000 (+0000) Subject: Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect X-Git-Tag: RELEASE_1_0b2~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e20121e6c78d1b67cefd78304af8a292ad630797;p=php Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 5bf0e7deed..924e6e8543 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -4407,6 +4407,7 @@ PHP_FUNCTION(ocipasswordchange) /* Disable in Safe Mode */ if (PG(safe_mode)) { + php_error(E_WARNING, "%s is disabled in Safe Mode", get_active_function_name(TSRMLS_C)); RETURN_FALSE; }