From 8a7571e4717afd88702bb03e1bccdce8e813c91b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 6 Oct 2023 19:13:26 +0200 Subject: [PATCH] cleaning --- conf/config.local.php | 6 ++-- conf/config.local.user.php | 13 ------- conf/config.local.yunohost.php | 64 ---------------------------------- conf/extra_php-fpm.conf | 4 +-- conf/nginx.conf | 2 +- manifest.toml | 2 ++ scripts/backup | 7 ++++ scripts/change_url | 7 ++-- scripts/install | 9 ----- scripts/restore | 29 ++++++++++----- 10 files changed, 39 insertions(+), 104 deletions(-) delete mode 100644 conf/config.local.user.php delete mode 100644 conf/config.local.yunohost.php diff --git a/conf/config.local.php b/conf/config.local.php index b59da7d..0ceb6af 100644 --- a/conf/config.local.php +++ b/conf/config.local.php @@ -168,7 +168,7 @@ const DB_FILE = DATA_ROOT . '__DATA_DIR__/association.sqlite'; * Défaut : découverte automatique à partir de SCRIPT_NAME */ -//const WWW_URI = '/asso/'; +const WWW_URI = '__PATH__/'; /** * Adresse URL HTTP(S) publique de Paheko @@ -326,7 +326,7 @@ const DB_FILE = DATA_ROOT . '__DATA_DIR__/association.sqlite'; * Défaut : 'TRUNCATE' * @var string */ -//const SQLITE_JOURNAL_MODE = 'TRUNCATE'; +const SQLITE_JOURNAL_MODE = 'WAL'; /** * Activation du log HTTP (option de développement) @@ -364,7 +364,7 @@ const DB_FILE = DATA_ROOT . '__DATA_DIR__/association.sqlite'; * @var bool */ -//const ENABLE_UPGRADES = true; +const ENABLE_UPGRADES = false; /** * Utilisation de cron pour les tâches automatiques diff --git a/conf/config.local.user.php b/conf/config.local.user.php deleted file mode 100644 index dbcdf62..0000000 --- a/conf/config.local.user.php +++ /dev/null @@ -1,13 +0,0 @@ -