forked from deblan/gist
Compare commits
1 commit
master
...
dev-master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c52988222 |
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ use Gist\Service\Gist;
|
||||||
$dataPath = $app['settings']['data']['path'];
|
$dataPath = $app['settings']['data']['path'];
|
||||||
|
|
||||||
if ($dataPath[0] !== '/') {
|
if ($dataPath[0] !== '/') {
|
||||||
$app['gist_path'] = $app['root_path'].$dataPath;
|
$app['gist_path'] = $app['root_path'].'/'.$dataPath;
|
||||||
} else {
|
} else {
|
||||||
$app['gist_path'] = $dataPath;
|
$app['gist_path'] = $dataPath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue