dmitry Sun Jan 11 08:35:36 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/sapi/cgi cgi_main.c Log: Disable dl() in CGI and FastCGI modes http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.35&r2=1.267.2.15.2.50.2.36&diff_format=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.35 php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.36 --- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.35 Fri Jan 9 22:13:55 2009 +++ php-src/sapi/cgi/cgi_main.c Sun Jan 11 08:35:36 2009 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.35 2009/01/09 22:13:55 dsp Exp $ */ +/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.36 2009/01/11 08:35:36 dmitry Exp $ */ #include "php.h" #include "php_globals.h" @@ -1547,7 +1547,9 @@ #endif cgi_sapi_module.executable_location = argv[0]; - cgi_sapi_module.additional_functions = additional_functions; + if (!cgi && !fastcgi && !bindpath) { + cgi_sapi_module.additional_functions = additional_functions; + } /* startup after we get the above ini override se we get things right */ if (cgi_sapi_module.startup(&cgi_sapi_module) == FAILURE) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php