cvs: php4 /ext/standard filestat.c

From: Date: Thu, 27 Jul 2000 13:47:04 +0000
Subject: cvs: php4 /ext/standard filestat.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-950@lists.php.net to get a copy of this message
stas Thu Jul 27 06:47:04 2000 EDT Modified files: /php4/ext/standard filestat.c Log: Fix safe mode handling by touch Index: php4/ext/standard/filestat.c diff -u php4/ext/standard/filestat.c:1.42 php4/ext/standard/filestat.c:1.43 --- php4/ext/standard/filestat.c:1.42 Thu Jul 27 06:28:21 2000 +++ php4/ext/standard/filestat.c Thu Jul 27 06:47:03 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filestat.c,v 1.42 2000/07/27 13:28:21 stas Exp $ */ +/* $Id: filestat.c,v 1.43 2000/07/27 13:47:03 stas Exp $ */ #include "php.h" #include "safe_mode.h" @@ -396,7 +396,7 @@ } convert_to_string_ex(filename); - if (PG(safe_mode) &&(!php_checkuid((*filename)->value.str.val, NULL, 1))) { + if (PG(safe_mode) &&(!php_checkuid((*filename)->value.str.val, NULL, 2))) { if (newtime) efree(newtime); RETURN_FALSE; }

« previous php.cvs (#950) next »