mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
NetWare don't have uid for a file so modified the php_checkuid to return 1 for NetWAre
This commit is contained in:
parent
b38de145ac
commit
06a4be43a3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user