summaryrefslogtreecommitdiff
path: root/includes/autoload.php
blob: f2e90b16f09f4ad82b52f84d47117059edd5dce4 (plain)
1
2
3
4
5
6
7
8
9
10
<?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';