Cleanup config settings and provide some info

This commit is contained in:
the-djmaze 2022-12-30 15:11:25 +01:00
parent 4261bdafff
commit 4922586893
20 changed files with 44 additions and 67 deletions

View file

@ -37,6 +37,9 @@ if (!function_exists('str_ends_with')) {
if (!defined('APP_VERSION')) {
define('APP_VERSION', basename(__DIR__));
}
if (!defined('SNAPPYMAIL_DEV')) {
define('SNAPPYMAIL_DEV', '0.0.0' === APP_VERSION);
}
if (!defined('APP_INDEX_ROOT_PATH')) {
define('APP_INDEX_ROOT_PATH', dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR);