CVS update: php3/functions

From: Date: Wed, 12 Aug 1998 04:56:34 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-115@lists.php.net to get a copy of this message
Date: Wednesday August 12, 1998 @ 0:56 Author: steffann Update of /repository/php3/functions In directory asf:/tmp/cvs-serv10016/functions Modified Files: dl.c Log Message: Added config-option enable_dl to enable/disable dynamic loading. Index: php3/functions/dl.c diff -c php3/functions/dl.c:1.96 php3/functions/dl.c:1.97 *** php3/functions/dl.c:1.96 Mon Jun 22 16:28:30 1998 --- php3/functions/dl.c Wed Aug 12 00:56:34 1998 *************** *** 78,84 **** convert_to_string(file); ! if (php3_ini.safe_mode) { php3_error(E_ERROR, "Dynamically loaded extensions aren't allowed when running in SAFE MODE."); } else { php3_dl(file,MODULE_TEMPORARY,return_value); --- 78,86 ---- convert_to_string(file); ! if (!php3_ini.enable_dl) { ! php3_error(E_ERROR, "Dynamically loaded extentions aren't enabled."); ! } else if (php3_ini.safe_mode) { php3_error(E_ERROR, "Dynamically loaded extensions aren't allowed when running in SAFE MODE."); } else { php3_dl(file,MODULE_TEMPORARY,return_value); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#115) next »