From da0a5e96bafb5c887c60e7769d893e988a87b3ee Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Sun, 12 Apr 2020 19:58:15 +0200 Subject: [PATCH] Updated sample config --- config.example.php | 2 +- docs/installation.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.example.php b/config.example.php index 028501e..f79cbe4 100644 --- a/config.example.php +++ b/config.example.php @@ -10,6 +10,6 @@ return [ ], 'storage' => [ 'driver' => 'local', - 'path' => './storage', + 'path' => realpath(__DIR__).'/storage', ], ]; diff --git a/docs/installation.md b/docs/installation.md index 8890b89..ee7536b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -41,11 +41,11 @@ return [ 'base_url' => 'https://example.com', // no trailing slash 'storage' => [ 'driver' => 'local', - 'path' => 'storage', + 'path' => 'absolute/path/to/storage', ], 'db' => [ 'connection' => 'sqlite', // current support for sqlite and mysql - 'dsn' => 'abs/path/to/resources/database/xbackbone.db', // if sqlite should be an absolute path + 'dsn' => 'absolute/path/to/resources/database/xbackbone.db', // if sqlite should be an absolute path 'username' => null, // username and password not needed for sqlite 'password' => null, ]