mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
Fix issue for data path conf
This commit is contained in:
parent
3fcdae9270
commit
1c52988222
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user