engelsystem/includes/autoload.php

13 lines
331 B
PHP

<?php
// Check for autoloader
if (!is_readable(__DIR__ . '/../vendor/autoload.php')) {
echo 'Please run composer.phar install';
exit(1);
}
// Include composer autoloader
// phpcs:disable SlevomatCodingStandard.Variables.UnusedVariable.UnusedVariable
$loader = require __DIR__ . '/../vendor/autoload.php';
// phpcs:enable