diff --git a/conf/config.php b/conf/config.php index 3bfef15..c12e1ad 100644 --- a/conf/config.php +++ b/conf/config.php @@ -7,6 +7,8 @@ ** https://github.com/jean-io/moncycle.app */ +define("APP_URL", "__DOMAIN__/__PATH__"); + define("DB_HOST", "localhost"); define("DB_ID", "__DB_USER__"); define("DB_NAME", "__DB_NAME__"); diff --git a/conf/nginx.conf b/conf/nginx.conf index fff41cb..791145d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,7 +26,7 @@ location __PATH__/ { } # Default indexes and catch-all - rewrite ^__PATH__/(api|inscription|compte|export)$ __PATH__/$1.php; + rewrite ^__PATH__/(api/deconnexion|inscription|compte|export)$ __PATH__/$1.php; rewrite ^__PATH__/(connexion)$ __PATH__/$1.html; index index.html index.php; try_files $uri $uri/ __PATH__/index.php?$args;