1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-24 02:43:09 +01:00
php-dibi/tests/dibi/bootstrap.php

19 lines
406 B
PHP
Raw Normal View History

2012-10-18 23:00:12 +02:00
<?php
2014-05-13 02:47:35 +02:00
// The Nette Tester command-line runner can be
// invoked through the command: ../../vendor/bin/tester .
if (@!include __DIR__ . '/../../vendor/autoload.php') {
echo 'Install Nette Tester using `composer update --dev`';
exit(1);
}
2012-10-18 23:00:12 +02:00
2014-05-13 02:47:35 +02:00
// configure environment
Tester\Environment::setup();
2012-10-18 23:00:12 +02:00
date_default_timezone_set('Europe/Prague');
2014-05-13 02:47:35 +02:00
// load connections
$config = require __DIR__ . '/config.php';