Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adjusted CFileHelper::validatePath docs

  • Loading branch information...
commit afe2ba2c2217cbea7d8f67d3306a1d3c9b5ff637 1 parent 9852b65
Alexander Makarov samdark authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 framework/utils/CFileHelper.php
6 framework/utils/CFileHelper.php
View
@@ -180,10 +180,10 @@ protected static function findFilesRecursive($dir,$base,$fileTypes,$exclude,$lev
* @param string $base the path relative to the original source directory
* @param string $file the file or directory name
* @param boolean $isFile whether this is a file
- * @param array $fileTypes list of file name suffix (without dot). Only files with these suffixes will be copied.
+ * @param array $fileTypes list of valid file name suffixes (without dot).
* @param array $exclude list of directory and file exclusions. Each exclusion can be either a name or a path.
- * If a file or directory name or path matches the exclusion, it will not be copied. For example, an exclusion of
- * '.svn' will exclude all files and directories whose name is '.svn'. And an exclusion of '/a/b' will exclude
+ * If a file or directory name or path matches the exclusion, false will be returned. For example, an exclusion of
+ * '.svn' will return false for all files and directories whose name is '.svn'. And an exclusion of '/a/b' will return false for
* file or directory '$src/a/b'. Note, that '/' should be used as separator regardless of the value of the DIRECTORY_SEPARATOR constant.
* @return boolean whether the file or directory is valid
*/
Please sign in to comment.
Something went wrong with that request. Please try again.