diff options
author | Anantha Kesari H Y <hyanantha@php.net> | 2004-09-29 12:35:13 +0000 |
---|---|---|
committer | Anantha Kesari H Y <hyanantha@php.net> | 2004-09-29 12:35:13 +0000 |
commit | 06a4be43a3fbf5b94f9204dee9233bedbd1980ad (patch) | |
tree | bf2573f94f3ac373d099959e3e5d12e1b2fa709a /main/safe_mode.c | |
parent | b38de145ac72e1dc2cbfdf4027f4bf6006c878ca (diff) | |
download | php-git-06a4be43a3fbf5b94f9204dee9233bedbd1980ad.tar.gz |
NetWare don't have uid for a file so modified the php_checkuid to return 1 for NetWAre
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r-- | main/safe_mode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index 0412433b22..d0d351388d 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -187,7 +187,12 @@ PHPAPI int php_checkuid_ex(const char *filename, char *fopen_mode, int mode, int } PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode) { +#ifdef NETWARE +/* NetWare don't have uid*/ + return 1; +#else return php_checkuid_ex(filename, fopen_mode, mode, 0); +#endif } PHPAPI char *php_get_current_user() |