Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Resolving an issue with a call to escapeshellarg()

  • Loading branch information...
commit 85ad7b2ae2c5bbd97815cfa869592bb302177d99 1 parent 6c0d590
@lukewilde lukewilde authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/clock/MaidenClockCommon.php
View
2  examples/clock/MaidenClockCommon.php
@@ -390,7 +390,7 @@ protected function createFromTemplate(array $replacements, $actualPath) {
}
//Luke: rename() was unable to continue after being unable to preserve times and permissions when copying from linux to widows file system
- shell_exec("mv escapeshellarg($tempName) escapeshellarg($actualPath)");
+ shell_exec("mv " . escapeshellarg($tempName) . " " . escapeshellarg($actualPath));
$this->logger->log("Creating file '$actualPath'", Logger::LEVEL_DEBUG);
return $this;

0 comments on commit 85ad7b2

Please sign in to comment.
Something went wrong with that request. Please try again.