engelsystem/includes/autoload.php

11 lines
235 B
PHP
Raw Normal View History

2017-08-28 16:21:10 +02:00
<?php
// Check for autoloader
if (!is_readable(__DIR__ . '/../vendor/autoload.php')) {
echo 'Please run composer.phar install';
exit(1);
2017-08-28 16:21:10 +02:00
}
// Include composer autoloader
2017-10-31 13:40:13 +01:00
$loader = require __DIR__ . '/../vendor/autoload.php';