forked from leftypol/leftypol
Better way of loading configuration
This commit is contained in:
parent
a528996bcd
commit
c237b016e6
4 changed files with 39 additions and 8 deletions
4
mod.php
4
mod.php
|
@ -1,10 +1,6 @@
|
|||
<?php
|
||||
require 'inc/functions.php';
|
||||
require 'inc/display.php';
|
||||
require 'inc/config.php';
|
||||
if (file_exists('inc/instance-config.php')) {
|
||||
require 'inc/instance-config.php';
|
||||
}
|
||||
require 'inc/template.php';
|
||||
require 'inc/database.php';
|
||||
require 'inc/user.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue