cvs: /php4 SAPI.c
| From: | Zeev Suraski | Date: | Thu, 10 Feb 2000 19:23:07 +0000 |
| Subject: | cvs: /php4 SAPI.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10054@lists.php.net to get a copy of this message | ||
zeev Thu Feb 10 11:23:07 2000 EDT
Modified files:
/php4 SAPI.c
Log:
Only activate if we're inside an actual request
Index: php4/SAPI.c
diff -u php4/SAPI.c:1.47 php4/SAPI.c:1.48
--- php4/SAPI.c:1.47 Thu Feb 10 10:19:02 2000
+++ php4/SAPI.c Thu Feb 10 11:22:36 2000
@@ -192,9 +192,9 @@
sapi_read_post_data(SLS_C);
}
SG(request_info).cookie_data = sapi_module.read_cookies(SLS_C);
- }
- if (sapi_module.activate) {
- sapi_module.activate(SLS_C);
+ if (sapi_module.activate) {
+ sapi_module.activate(SLS_C);
+ }
}
}