From: <var...@us...> - 2024-01-29 18:43:25
|
Revision: 11076 http://sourceforge.net/p/phpwiki/code/11076 Author: vargenau Date: 2024-01-29 18:43:23 +0000 (Mon, 29 Jan 2024) Log Message: ----------- lib/FileFinder.php: fix test, it is an array Modified Paths: -------------- trunk/lib/FileFinder.php Modified: trunk/lib/FileFinder.php =================================================================== --- trunk/lib/FileFinder.php 2024-01-24 12:07:18 UTC (rev 11075) +++ trunk/lib/FileFinder.php 2024-01-29 18:43:23 UTC (rev 11076) @@ -29,7 +29,7 @@ /** * A class for finding files. * - * This should really provided by pear. We don't want really to mess around + * This should really be provided by pear. We don't want really to mess around * with all the lousy systems. (WindowsNT, Win95, Mac, ...) * But pear has only System and File, which do nothing. * Anyway, in good PHP style we ignore the rest of the world and try to behave @@ -44,7 +44,7 @@ */ public function __construct($path = array()) { - if (!isset($this->_path) and $path === false) { + if (!isset($this->_path) and $path === array()) { $path = $this->_get_include_path(); } $this->_path = $path; @@ -207,7 +207,7 @@ * be enough to fix the problem * * This following line should be in the above if-block, but we - * put it here, as it seems to work-around the bug. + * put it here, as it seems to work around the bug. */ $GLOBALS['INCLUDE_PATH'] = implode($this->_get_ini_separator(), $this->_path); @ini_set('include_path', $GLOBALS['INCLUDE_PATH']); @@ -236,7 +236,7 @@ * Return all the possible shortened locale specifiers for the given locale. * Most specific first. * de_DE.iso8859-1@euro => de_DE.iso8859-1, de_DE, de - * This code might needed somewhere else also. + * This code might be needed somewhere else also. * * @param string $lang Locale string */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |