prettier git dirs in setup check
authorChristian Weiske <cweiske@cweiske.de>
Mon, 7 Jul 2014 05:47:25 +0000 (07:47 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 7 Jul 2014 05:47:25 +0000 (07:47 +0200)
src/phorkie/SetupCheck.php

index f8edd86..557d85c 100644 (file)
@@ -24,8 +24,8 @@ class SetupCheck
     {
         $cfg = $GLOBALS['phorkie']['cfg'];
         $this->writableDirs = array(
-            'gitdir' => $cfg['gitdir'],
-            'workdir' => $cfg['workdir'],
+            'gitdir'  => Tools::foldPath($cfg['gitdir']),
+            'workdir' => Tools::foldPath($cfg['workdir']),
         );
         $this->elasticsearch = $cfg['elasticsearch'];
     }