cvs: /php4 main.c
| From: | Zeev Suraski | Date: | Tue, 18 Jan 2000 19:16:15 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9258@lists.php.net to get a copy of this message | ||
zeev Tue Jan 18 11:16:15 2000 EDT
Modified files:
/php4 main.c
Log:
Make the phpinfo() images work properly again
Index: php4/main.c
diff -u php4/main.c:1.179 php4/main.c:1.180
--- php4/main.c:1.179 Sun Jan 16 13:03:48 2000
+++ php4/main.c Tue Jan 18 11:15:45 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.179 2000/01/16 21:03:48 zeev Exp $ */
+/* $Id: main.c,v 1.180 2000/01/18 19:15:45 zeev Exp $ */
#include <stdio.h>
@@ -1191,6 +1191,7 @@
zend_file_handle prepend_file, append_file;
SLS_FETCH();
+ zend_activate_modules();
if (SG(request_info).query_string && SG(request_info).query_string[0]=='='
&& PG(expose_php)) {
if (!strcmp(SG(request_info).query_string+1, PHP_LOGO_GUID)) {
@@ -1239,7 +1240,6 @@
if (EG(main_op_array)) {
zend_hash_environment(PLS_C ELS_CC SLS_CC);
EG(active_op_array) = EG(main_op_array);
- zend_activate_modules();
zend_execute(EG(main_op_array) ELS_CC);
}
}