diff options
author | Anantha Kesari H Y <hyanantha@php.net> | 2004-09-23 15:08:31 +0000 |
---|---|---|
committer | Anantha Kesari H Y <hyanantha@php.net> | 2004-09-23 15:08:31 +0000 |
commit | 13163ad5e414f2323c94442093529c32d071d7e9 (patch) | |
tree | 4dce7d1e5af1baf6f2fa4d4d399f1afcd8dfc11d | |
parent | d2e85c5c9a2339cc7ec7aa8e3a881170bd03cac0 (diff) | |
download | php-git-13163ad5e414f2323c94442093529c32d071d7e9.tar.gz |
TSRMLS_FETCH should be called prior to accessing any of the SG members
-rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index cb4ed06586..8d61e60298 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -302,8 +302,8 @@ php_apache_disable_caching(ap_filter_t *f) static time_t php_apache_sapi_get_request_time(void) { - php_struct *ctx = SG(server_context); TSRMLS_FETCH(); + php_struct *ctx = SG(server_context); return ctx->r->request_time; } |