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 dbca915bfe
commit f9fc7e330d
13 changed files with 39 additions and 13 deletions

View File

@@ -6,7 +6,9 @@
<?php
require __DIR__ . '/../vendor/autoload.php';
if (@!include __DIR__ . '/../vendor/autoload.php') {
die('Install packages using `composer install`');
}
dibi::connect([