From d6d320bebcccfe3966afdd5e0c44178ec13a88d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 19 Aug 2023 16:32:48 +0200 Subject: [PATCH] fix --- conf/config.php | 4 ++-- conf/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/config.php b/conf/config.php index 0860bd6..908e638 100644 --- a/conf/config.php +++ b/conf/config.php @@ -5,11 +5,11 @@ return [ 'base_url' => 'https://__DOMAIN____PATH__', 'storage' => [ 'driver' => 'local', - 'path' => '__DATA_DIR__', + 'path' => './storage', ], 'db' => [ 'connection' => 'sqlite', - 'dsn' => '__INSTALL_DIR__/resources/database/xbackbone.db', + 'dsn' => 'resources/database/xbackbone.db', 'username' => null, 'password' => null, ] diff --git a/conf/nginx.conf b/conf/nginx.conf index ef8e098..cf95857 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location __PATH__/ { client_max_body_size 512M; - try_files $uri $uri/ index.php; + try_files $uri $uri/ /index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;