_bootstrap.php 226 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php
// This is global bootstrap for autoloading

$config = __DIR__ . '/../app/config.php';
if (file_exists($config)) {
    require_once $config;
} elseif (!defined(SQL_HOST)) {
    throw new \Exception('No config found');
}