06-21-2017, 04:43 PM
here is the function on that page
//Get array of paths, with quotes removed
$lineLength=strlen($currentLine);
$pathString=str_replace("'","",substr($currentLine,7,$lineLength-11));
$paths=explode(',',$pathString);
$pages=[];
//Get list of php files for each $path
foreach ($paths as $path){
$rows=getPathPhpFiles($abs_us_root,$us_url_root,$path);
foreach ((array)$rows as $row){
$pages[]=$row;
}
}
//Get array of paths, with quotes removed
$lineLength=strlen($currentLine);
$pathString=str_replace("'","",substr($currentLine,7,$lineLength-11));
$paths=explode(',',$pathString);
$pages=[];
//Get list of php files for each $path
foreach ($paths as $path){
$rows=getPathPhpFiles($abs_us_root,$us_url_root,$path);
foreach ((array)$rows as $row){
$pages[]=$row;
}
}