From: <ru...@us...> - 2010-09-17 11:33:01
|
Revision: 7692 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7692&view=rev Author: rurban Date: 2010-09-17 11:32:55 +0000 (Fri, 17 Sep 2010) Log Message: ----------- fix windows abs_path Modified Paths: -------------- trunk/lib/FileFinder.php Modified: trunk/lib/FileFinder.php =================================================================== --- trunk/lib/FileFinder.php 2010-09-17 08:59:58 UTC (rev 7691) +++ trunk/lib/FileFinder.php 2010-09-17 11:32:55 UTC (rev 7692) @@ -154,7 +154,7 @@ if (substr($path,0,1) == '/') { return true; } elseif (isWindows() and preg_match("/^[a-z]:/i", $path) - and (substr($path,3,1) == "/" or substr($path,3,1) == "\\")) + and (substr($path,2,1) == "/" or substr($path,2,1) == "\\")) { return true; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |