Permalink
Browse files

Resolving an issue with a call to escapeshellarg()

  • Loading branch information...
1 parent 6c0d590 commit 85ad7b2ae2c5bbd97815cfa869592bb302177d99 @lukewilde lukewilde committed Jun 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.