diff --git a/doc/ADMIN.md b/doc/ADMIN.md index e2ea899..2ea8220 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,3 +1,11 @@ -If you wish, you can add custom configurations inside `__INSTALL_DIR__/config.local.php`. +If you wish, you can add custom configurations inside `__DATA_DIR__/data/config.local.user.php`. + +Use the `__DATA-DIR__/data` folder if you want to store documents elsewhere than in the database. Example in `__DATA_DIR__/data/config.local.user.php` file + +``` +const FILE_STORAGE_BACKEND = 'FileSystem'; + +const FILE_STORAGE_CONFIG = DATA_ROOT . /files'; +``` **Important**: for some reason, email does not work when installing on a subpath. You are encouraged to use a full, dedicated for this domain (with path set to /) diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 104f67e..3ff8959 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,4 +1,12 @@ -Vous pouvez si vous le souhaitez ajouter des configurations personnelles en éditant le fichier `__INSTALL_DIR__/config.local.php`. +Vous pouvez si vous le souhaitez ajouter des configurations personnelles en éditant le fichier `__DATA_DIR__/data/config.local.user.php`. + +Privilégiez le dossier `__DATA-DIR__/data` si vous voulez conserver des documents ailleurs que dans la base de données. Example dans le fichier `__DATA_DIR__/data/config.local.user.php` + +``` +const FILE_STORAGE_BACKEND = 'FileSystem'; + +const FILE_STORAGE_CONFIG = DATA_ROOT . '/files'; +``` **Important** : Pour une raison quelconque, le courriel ne fonctionne pas lors de l’installation sur une sous-instance. Nous vous encourageons à utiliser un nom de domaine complet dédié à ce domaine (avec le chemin défini sur /).