summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
authorMaxim Maletsky <maxim@php.net>2002-11-21 21:26:18 +0000
committerMaxim Maletsky <maxim@php.net>2002-11-21 21:26:18 +0000
commite20121e6c78d1b67cefd78304af8a292ad630797 (patch)
treefdf7f18352881708638ca724fa679e32dee6ace8 /ext/oci8/oci8.c
parentb5ae4adde1de9d84dd3a1e9e74f96f210871818b (diff)
downloadphp-git-e20121e6c78d1b67cefd78304af8a292ad630797.tar.gz
Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r--ext/oci8/oci8.c1
1 files changed, 1 insertions, 0 deletions
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;
}