CVS update: php31/ext/standard
| From: | shane | Date: | Thu, 27 Aug 1998 21:42:31 +0000 |
| Subject: | CVS update: php31/ext/standard | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-625@lists.php.net to get a copy of this message | ||
Date: Thursday August 27, 1998 @ 17:42
Author: shane
Update of /repository/php31/ext/standard
In directory asf:/u2/tmp/cvs-serv2172/ext/standard
Modified Files:
dl.c
Log Message:
make double loading of dl's only make error warnings when errorlevel 8 is set. This is to
allow redistribution of scripts using dl() to work when the dl is already loaded in ini file
Index: php31/ext/standard/dl.c
diff -c php31/ext/standard/dl.c:2.2 php31/ext/standard/dl.c:2.3
*** php31/ext/standard/dl.c:2.2 Thu Aug 27 17:24:38 1998
--- php31/ext/standard/dl.c Thu Aug 27 17:42:31 1998
***************
*** 167,173 ****
return FAILURE;
}
}
! register_module(module_entry);
if (module_entry->request_startup_func) {
--- 167,176 ----
return FAILURE;
}
}
! if(register_module(module_entry)==FAILURE){
! /*yes, notice. preventing error messages if loaded in ini and dl().*/
! php3_error(E_NOTICE,"Module load failed - register_module failure -
%s",module_entry->name);
! }
if (module_entry->request_startup_func) {
--
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