From 2b5b8952e9b35dafc20c41c5713fbbb3d7b4bdb7 Mon Sep 17 00:00:00 2001 From: Dmitry Gorelenkov <dmitry.gorelenkov@gmx.net> Date: Sat, 9 May 2015 00:20:00 +0200 Subject: [PATCH] optimize calls --- setup/cli/modules/deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/cli/modules/deploy.php b/setup/cli/modules/deploy.php index 7eb35bc92..7d0e87ecc 100644 --- a/setup/cli/modules/deploy.php +++ b/setup/cli/modules/deploy.php @@ -151,7 +151,7 @@ class Deployment extends Unpacker { # Locate the upload 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*", "*.sw[a-z]","*.md", "*.txt"); -- GitLab