bootstrap.php 402 Bytes
Newer Older
Bostjan Skufca committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php



/**
 * Import classes
 */
use Teon\Sitemap\Generator\BruteForce\Config;



/**
 * Engage composer
 */
require __DIR__.'/../vendor/autoload.php';



/**
 * Try to load configuration from integration file
 */
$integrationFilePath = __DIR__ .'/../../sitemap-glue.php';
if (file_exists($integrationFilePath)) {
    $configData = require $integrationFilePath;
    Config::setConfig($configData);
}