We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb55e21 commit dda339cCopy full SHA for dda339c
2 files changed
.gitignore
@@ -45,6 +45,7 @@
45
46
# Manager
47
/manager/includes/config.inc.php
48
+/manager/includes/config_mutator.php
49
50
# Composer
51
/composer.phar
install/config.inc.tpl
@@ -18,6 +18,20 @@ $coreClass = '\DocumentParser';
18
$session_cookie_path = '';
19
$session_cookie_domain = '';
20
21
+/**
22
+ * Preventing the overwrite of the config when updating
23
+ * Here you can
24
+ * - define manual constants, dedicated specifically for you project
25
+ * - inject composer
26
+ * - change predefined variables by the environment variables
27
+ * - ...
28
+ * - etc.
29
+ * - PROFIT!
30
+ */
31
+if (file_exists(__DIR__ . '/config_mutator.php')) {
32
+ require_once __DIR__ . '/config_mutator.php';
33
+}
34
+
35
if (!defined('MGR_DIR')) {
36
define('MGR_DIR', 'manager');
37
}
0 commit comments