*
* PHP version 5
*
- * Copyright © 2009-2022 The Galette Team
+ * Copyright © 2009-2023 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
*
* @package Galette
*
* @author Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2007-2022 The Galette Team
+ * @copyright 2007-2023 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @link http://galette.tuxfamily.org
* @since Available since 0.7-dev - 2007-10-07
define('GALETTE_DISPLAY_VERSION', \Galette\Core\Galette::gitVersion(false));
}
-define('GALETTE_COMPAT_VERSION', '0.9.6');
+define('GALETTE_COMPAT_VERSION', '1.0.0');
define('GALETTE_DB_VERSION', '0.960');
if (!defined('GALETTE_MODE')) {
define('GALETTE_MODE', \Galette\Core\Galette::MODE_PROD);
$galette_run_log = null;
if (!defined('GALETTE_LOG_LVL')) {
- if (GALETTE_MODE === 'DEV') {
+ if (\Galette\Core\Galette::isDebugEnabled()) {
define('GALETTE_LOG_LVL', Analog::DEBUG);
} elseif (defined('GALETTE_TESTS')) {
define('GALETTE_LOG_LVL', Analog::NOTICE);