X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/c7f776c8b948b033c200c8fd84ab5e8a8422d601..1016cc26d830c79ecdb2a8b3e06d7e5ca245d989:/lib/settings.php diff --git a/lib/settings.php b/lib/settings.php index 6efc8b7..7ecee3a 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -41,7 +41,7 @@ if ($cfg['debug'] === true) { /* Jirafeau package */ define('JIRAFEAU_PACKAGE', 'Jirafeau'); -define('JIRAFEAU_VERSION', '4.3.0'); +define('JIRAFEAU_VERSION', '4.5.0'); /* Directories. */ define('VAR_FILES', $cfg['var_root'] . 'files/'); @@ -52,7 +52,7 @@ define('VAR_ASYNC', $cfg['var_root'] . 'async/'); // root of the domain without handling the URL scheme $absPrefix = parse_url($cfg['web_root'], PHP_URL_PATH); if (true === empty($absPrefix)) { - // fallback if installation isnt done yet: relative links to same level on the current page + // fallback if installation isn't done yet: relative links to same level on the current page $absPrefix = './'; } define('JIRAFEAU_ABSPREFIX', $absPrefix); @@ -75,5 +75,7 @@ define('JIRAFEAU_MONTH', 2592000); // JIRAFEAU_DAY * 30 define('JIRAFEAU_QUARTER', 7776000); // JIRAFEAU_DAY * 90 define('JIRAFEAU_YEAR', 31536000); // JIRAFEAU_DAY * 365 +define('JIRAFEAU_SODIUM_CHUNKSIZE', 1024); + // set UTC as default timezone for all date/time functions date_default_timezone_set('UTC');