}
define('GALETTE_NIGHTLY', false);
-define('GALETTE_VERSION', 'v0.9.5');
+define('GALETTE_VERSION', 'v0.9.6.1');
//Version to display
if (!defined('GALETTE_HIDE_VERSION')) {
define('GALETTE_DISPLAY_VERSION', \Galette\Core\Galette::gitVersion(false));
}
-define('GALETTE_COMPAT_VERSION', '0.9.5');
-define('GALETTE_DB_VERSION', '0.950');
+define('GALETTE_COMPAT_VERSION', '0.9.6');
+define('GALETTE_DB_VERSION', '0.960');
if (!defined('GALETTE_MODE')) {
define('GALETTE_MODE', \Galette\Core\Galette::MODE_PROD);
}
}
if (!defined('GALETTE_DISPLAY_ERRORS')) {
- if (GALETTE_MODE === 'DEV') {
+ if (GALETTE_MODE === \Galette\Core\Galette::MODE_DEV) {
define('GALETTE_DISPLAY_ERRORS', 1);
} else {
define('GALETTE_DISPLAY_ERRORS', 0);
}
}
-ini_set('display_errors', 0);
+ini_set('display_errors', (defined('GALETTE_TESTS') ? '1' : '0'));
/*------------------------------------------------------------------------------
Logger stuff