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:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user