Skip to content

Commit

Permalink
[FEATURE] excluded rwd/default
Browse files Browse the repository at this point in the history
  • Loading branch information
Derrick Heesbeen authored and Derrick Heesbeen committed Jun 2, 2017
1 parent 3453bc3 commit c455931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/patchHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ protected function searchTemplateNames($fileName){
array_pop($fileNameParts);
$path = implode('/',$fileNameParts);
$relativePathToTemplate = str_replace('app/design/frontend/base/default/template/','',$path);
echo shell_exec('find app/design/frontend -type f -name ' . $fileName . ' -not -path "app/design/frontend/base/*" -not -path "'.$path.'/*" -not -path "*/'.$relativePathToTemplate.'/*"');
echo shell_exec('find app/design/frontend -type f -name ' . $fileName . ' -not -path "app/design/frontend/base/*" -not -path "app/design/frontend/rwd/default/*" -not -path "'.$path.'/*" -not -path "*/'.$relativePathToTemplate.'/*"');
}

public function usageHelp()
Expand Down

0 comments on commit c455931

Please sign in to comment.