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)(/.*)$;