Core/tests/bootstrap.php
Abel 87364d762d Fixed #113.
All exceptions have unit tests and some critical errors have been fixed.
2016-08-07 13:06:57 +02:00

21 lines
544 B
PHP

<?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');
$configurator->setLogDirectory(__DIR__ . '/temp');
$container = $configurator->createContainer();
return $container;