From e20121e6c78d1b67cefd78304af8a292ad630797 Mon Sep 17 00:00:00 2001 From: Maxim Maletsky Date: Thu, 21 Nov 2002 21:26:18 +0000 Subject: [PATCH] Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect --- ext/oci8/oci8.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1