mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-29 11:00:44 +01:00
Require third party dependencies before requiring other files
This commit is contained in:
parent
4a6bbbe667
commit
81ceabe744
@ -13,6 +13,8 @@ define('TINYBOARD', null);
|
||||
|
||||
$microtime_start = microtime(true);
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
require_once 'inc/display.php';
|
||||
require_once 'inc/template.php';
|
||||
require_once 'inc/database.php';
|
||||
@ -23,8 +25,6 @@ require_once 'inc/lock.php';
|
||||
require_once 'inc/queue.php';
|
||||
require_once 'inc/polyfill.php';
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
@include_once 'inc/lib/parsedown/Parsedown.php'; // fail silently, this isn't a critical piece of code
|
||||
|
||||
// the user is not currently logged in as a moderator
|
||||
|
Loading…
x
Reference in New Issue
Block a user