From e2a9440c927f9ca698daf42990eead1f6a15a997 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 22 Aug 2016 21:48:27 -0400 Subject: Fix undefined constant in config example file --- config.default.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config.default.php') diff --git a/config.default.php b/config.default.php index d0e93a8e..b9dc8d77 100644 --- a/config.default.php +++ b/config.default.php @@ -4,6 +4,9 @@ /* Rename this file to config.php if you want to change the values */ /*******************************************************************/ +// Data folder (must be writeable by the web server user) +define('DATA_DIR', 'data'); + // Enable/Disable debug define('DEBUG', false); @@ -14,9 +17,15 @@ define('LOG_DRIVER', ''); define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log'); // Plugins directory -define('PLUGINS_DIR', ROOT_DIR.DIRECTORY_SEPARATOR.'plugins'); +define('PLUGINS_DIR', 'plugins'); + +// Available cache drivers are "file" and "memory" +define('CACHE_DRIVER', 'memory'); + +// Cache folder to use if cache driver is "file" (must be writeable by the web server user) +define('CACHE_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'cache'); -// Folder for uploaded files +// Folder for uploaded files (must be writeable by the web server user) define('FILES_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'files'); // E-mail address for the "From" header (notifications) -- cgit v1.2.3