We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 419daee commit 08debf3Copy full SHA for 08debf3
main/inc/global-min.inc.php
@@ -226,6 +226,23 @@
226
227
ini_set('log_errors', '1');
228
229
+// Including configuration files
230
+$configurationFiles = [
231
+ 'mail.conf.php',
232
+ 'profile.conf.php',
233
+ 'course_info.conf.php',
234
+ 'add_course.conf.php',
235
+ 'events.conf.php',
236
+ 'auth.conf.php',
237
+];
238
+
239
+foreach ($configurationFiles as $file) {
240
+ $file = api_get_path(CONFIGURATION_PATH).$file;
241
+ if (file_exists($file)) {
242
+ require_once $file;
243
+ }
244
+}
245
246
/**
247
* Include the trad4all language file.
248
*/
0 commit comments