Commit 6c58dad2 authored by Amit Goyal's avatar Amit Goyal
Browse files

Issue #1293110 by andershal, Jonathan Webb: directory scan of entire docroot.

parent 8e5a4a87
......@@ -771,8 +771,7 @@ function _advanced_help_parse_ini() {
elseif (!file_exists("$module_path/help")) {
// Look for one or more README files.
$files = file_scan_directory("./$module_path",
'/^(README|readme).*\.(txt|TXT)$/', array('.', '..', 'CVS'),
0, FALSE);
'/^(README|readme).*\.(txt|TXT)$/', array('recurse' => FALSE));
$path = "./$module_path";
foreach ($files as $name => $fileinfo) {
$info[$fileinfo->filename] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment