engelsystem/includes/autoload.php

11 lines
235 B
PHP

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