diff options
| author | Zeev Suraski <zeev@php.net> | 2000-02-10 17:26:57 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-02-10 17:26:57 +0000 |
| commit | 7d926a0e0c0862b4469200b5ebb7cc85c263b2dc (patch) | |
| tree | 01b0f0522ad4a4e3b2929e03b9985b3bfa57fc76 /sapi/apache/mod_php4.c | |
| parent | ec0e2d7312ba5e55bb4ffb2f35b72e19a48ee89a (diff) | |
| download | php-git-7d926a0e0c0862b4469200b5ebb7cc85c263b2dc.tar.gz | |
More cleanup...
Diffstat (limited to 'sapi/apache/mod_php4.c')
| -rw-r--r-- | sapi/apache/mod_php4.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 5d05e01f52..edf848dd6a 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -300,6 +300,12 @@ static int php_apache_sapi_activate(SLS_D) } +static int php_apache_get_uid(SLS_D) +{ + return ((request_rec *) SG(server_context))->finfo.st_uid; +} + + static sapi_module_struct sapi_module = { "Apache", /* name */ @@ -311,6 +317,7 @@ static sapi_module_struct sapi_module = { sapi_apache_ub_write, /* unbuffered write */ sapi_apache_flush, /* flush */ + php_apache_get_uid, /* get uid */ php_error, /* error handler */ |
