Hi Didier,
Try this patch to lib/FileFinder.php. It should fix the problem for you
but it has not been tested on an actual WindowsNT machine yet.
Carsten
RCS file: /cvsroot/phpwiki/phpwiki/lib/FileFinder.php,v
retrieving revision 1.12
diff -U2 -r1.12 FileFinder.php
--- FileFinder.php 28 Jan 2003 21:06:05 -0000 1.12
+++ FileFinder.php 24 Feb 2003 19:02:18 -0000
@@ -401,5 +401,6 @@
static $winnt;
if (isset($winnt)) return $winnt;
- $winnt = preg_match('/^Windows NT/', php_uname());
+ //$winnt = preg_match('/^Windows NT/', php_uname());
+ $winnt = (PHP_OS == "WINNT"); // example from
http://www.php.net/manual/en/ref.readline.php
return $winnt;
}
On Monday, February 24, 2003, at 02:27 am, Didier Bretin wrote:
> FileFinder.php:403: Warning[2]: php_uname() has been disabled for
> security reasons
|