fix(legacy): load vendors during config init

Propel does not have the vendors loaded, even if they are loaded during 'preload.php'.
This commit is contained in:
jo 2022-04-25 15:35:33 +02:00 committed by Kyle Robbertze
parent 751d430bcc
commit 241105f0a0
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
<?php
// Propel load the configuration file direclty, we also need to load
// the libraries in this files.
require_once __DIR__ . '/constants.php';
require_once VENDOR_PATH . '/autoload.php';
// THIS FILE IS NOT MEANT FOR CUSTOMIZING.
use League\Uri\Contracts\UriException;
use League\Uri\Uri;