maxim Thu Nov 21 16:26:18 2002 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.191 php4/ext/oci8/oci8.c:1.192
--- php4/ext/oci8/oci8.c:1.191 Thu Nov 21 15:49:33 2002
+++ php4/ext/oci8/oci8.c Thu Nov 21 16:26:18 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.191 2002/11/21 20:49:33 maxim Exp $ */
+/* $Id: oci8.c,v 1.192 2002/11/21 21:26:18 maxim Exp $ */
/* TODO list:
*
@@ -628,7 +628,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.191 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.192 $");
#ifndef PHP_WIN32
php_info_print_table_row(2, "Oracle Version", PHP_OCI8_VERSION );
php_info_print_table_row(2, "Compile-time ORACLE_HOME", PHP_OCI8_DIR );
@@ -4407,6 +4407,7 @@
/* 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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php