1
0
Fork 0
forked from deblan/gist

Compare commits

...

1 commit

Author SHA1 Message Date
1c52988222 Fix issue for data path conf 2017-04-24 20:56:53 +02:00

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;
}