Fix issue for data path conf

This commit is contained in:
Simon Vieille 2017-04-24 20:56:53 +02:00
parent 3fcdae9270
commit 1c52988222
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ use Gist\Service\Gist;
$dataPath = $app['settings']['data']['path'];
if ($dataPath[0] !== '/') {
$app['gist_path'] = $app['root_path'].$dataPath;
$app['gist_path'] = $app['root_path'].'/'.$dataPath;
} else {
$app['gist_path'] = $dataPath;
}