Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added chdir() safety in ZfTask

  • Loading branch information...
commit d010df3f26df2e4312f0df373baf2c3a9c09bf3d 1 parent 62767a3
heartsentwined authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/task/ZfTask.php
View
4 src/task/ZfTask.php
@@ -62,6 +62,8 @@ public function init()
*/
public function main()
{
+ $wd = getcwd();
+
$application = require $this->bootstrap;
if (!$application instanceof Application) {
throw new BuildException(
@@ -69,5 +71,7 @@ public function main()
);
}
$this->project->setProperty('zf', $application);
+
+ chdir($wd);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.