edink Wed Jan 29 10:40:24 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard dl.c
Log:
MFH
Index: php4/ext/standard/dl.c
diff -u php4/ext/standard/dl.c:1.79.2.2 php4/ext/standard/dl.c:1.79.2.3
--- php4/ext/standard/dl.c:1.79.2.2 Tue Dec 31 11:35:26 2002
+++ php4/ext/standard/dl.c Wed Jan 29 10:40:24 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dl.c,v 1.79.2.2 2002/12/31 16:35:26 sebastian Exp $ */
+/* $Id: dl.c,v 1.79.2.3 2003/01/29 15:40:24 edink Exp $ */
#include "php.h"
#include "dl.h"
@@ -61,7 +61,9 @@
pval **file;
#ifdef ZTS
- if ((strncmp(sapi_module.name, "cgi", 3)!=0) && (strcmp(sapi_module.name,
"cli")!=0)) {
+ if ((strncmp(sapi_module.name, "cgi", 3)!=0) &&
+ (strcmp(sapi_module.name, "cli")!=0) &&
+ (strncmp(sapi_module.name, "embed", 5)!=0)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not supported in
multithreaded Web servers - use extension statements in your php.ini");
RETURN_FALSE;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php