Core/tests/bootstrap.php

21 lines
544 B
PHP
Raw Normal View History

<?php
require_once(dirname(__DIR__) . '/vendor/autoload.php');
$configurator = new FuzeWorks\Configurator();
// Set directories
$parameters = array(
'appDir' => dirname(__FILE__) . '/application',
'wwwDir' => dirname(__FILE__) . '/www'
);
$configurator->setParameters($parameters);
$configurator->setDebugMode(true);
$configurator->setTimeZone('Europe/Amsterdam');
$configurator->setTempDirectory(__DIR__ . '/temp');
2016-07-09 11:00:56 +00:00
$configurator->setLogDirectory(__DIR__ . '/temp');
$container = $configurator->createContainer();
return $container;