Skip to content

Commit

Permalink
Ignore code/core files
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed May 26, 2022
1 parent b7a8ef7 commit c7fcff4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/remove-mysql4.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@
}
else {
foreach ($files as $file) {
if (stripos($file, 'code/core') !== false)
continue;
echo ' ',$file,"\n";
file_put_contents($file, preg_replace('#[[:<:]]'.$search.'[[:>:]]#', $replace, file_get_contents($file)));
}
Expand Down

0 comments on commit c7fcff4

Please sign in to comment.