NetWare don't have uid for a file so modified the php_checkuid to return 1 for NetWAre

This commit is contained in:
Anantha Kesari H Y 2004-09-29 12:35:13 +00:00
parent b38de145ac
commit 06a4be43a3

View File

@ -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()