Fix double path separator in require_once (#1408)

This commit is contained in:
Jonas L 2021-10-17 08:54:08 +02:00 committed by GitHub
parent 8b96489332
commit a7d06ad076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ set_include_path(VENDOR_PATH . PATH_SEPARATOR . VENDOR_PATH . 'zf1s/zend-loader/
// Ensure library/ is on include_path
set_include_path(LIB_PATH . PATH_SEPARATOR . get_include_path());
require_once VENDOR_PATH . '/autoload.php';
require_once VENDOR_PATH . 'autoload.php';
if (!class_exists('Propel')) {
exit('Error: Propel not found. Did you install Airtime\'s third-party dependencies with composer? (Check the README.)');