Skip to content
Snippets Groups Projects
Commit f1547454 authored by Dmitry Gorelenkov's avatar Dmitry Gorelenkov Committed by Jared Hancock
Browse files

optimize calls

parent a2f4912b
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ class Deployment extends Unpacker { ...@@ -147,7 +147,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