git.p6c8.net
/
jirafeau_project.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[FEATURE] more option docker options
[jirafeau_project.git]
/
lib
/
settings.php
diff --git
a/lib/settings.php
b/lib/settings.php
index 17df61efdf5485e7722d32dafa3d2d8dd0d7b3aa..ecdcf5dce67d5100154ea958e09882a1c556789a 100644
(file)
--- a/
lib/settings.php
+++ b/
lib/settings.php
@@
-29,11
+29,19
@@
if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) {
unset($cfgOriginal);
}
unset($cfgOriginal);
}
+// Setup debug mode
+if ($cfg['debug'] === true) {
+ @error_reporting(E_ALL);
+} else {
+ @error_reporting(0);
+}
+
+
// Set constants
/* Jirafeau package */
define('JIRAFEAU_PACKAGE', 'Jirafeau');
// Set constants
/* Jirafeau package */
define('JIRAFEAU_PACKAGE', 'Jirafeau');
-define('JIRAFEAU_VERSION', '4.
0
.0');
+define('JIRAFEAU_VERSION', '4.
3
.0');
/* Directories. */
define('VAR_FILES', $cfg['var_root'] . 'files/');
/* Directories. */
define('VAR_FILES', $cfg['var_root'] . 'files/');
@@
-67,4
+75,4
@@
define('JIRAFEAU_QUARTER', 7776000); // JIRAFEAU_DAY * 90
define('JIRAFEAU_YEAR', 31536000); // JIRAFEAU_DAY * 365
// set UTC as default timezone for all date/time functions
define('JIRAFEAU_YEAR', 31536000); // JIRAFEAU_DAY * 365
// set UTC as default timezone for all date/time functions
-date_default_timezone_set
('UTC');
+date_default_timezone_set('UTC');
patrick-canterino.de