1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-30 19:00:13 +02:00

examples: added notice when vendor/autoload.php not found

This commit is contained in:
David Grudl
2018-03-23 11:57:59 +01:00
parent 3616130959
commit 714272bbbf
13 changed files with 39 additions and 13 deletions

View File

@@ -7,7 +7,9 @@ declare(strict_types=1);
<?php
require __DIR__ . '/../vendor/autoload.php';
if (@!include __DIR__ . '/../vendor/autoload.php') {
die('Install packages using `composer install`');
}
date_default_timezone_set('Europe/Prague');