Skip to content
Snippets Groups Projects
Commit 2b5b8952 authored by Dmitry Gorelenkov's avatar Dmitry Gorelenkov
Browse files

optimize calls

parent f18c309b
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class Deployment extends Unpacker { ...@@ -151,7 +151,7 @@ class Deployment extends Unpacker {
# Locate the upload folder # Locate the upload folder
$root = $this->find_root_folder(); $root = $this->find_root_folder();
$rootPattern = str_replace("\\","\\\\", $this->find_root_folder()); //need for windows case $rootPattern = str_replace("\\","\\\\", $root); //need for windows case
$exclusions = array("$rootPattern/include", "$rootPattern/.git*", $exclusions = array("$rootPattern/include", "$rootPattern/.git*",
"*.sw[a-z]","*.md", "*.txt"); "*.sw[a-z]","*.md", "*.txt");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment