1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-01 11:50:15 +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

@@ -4,7 +4,9 @@
<?php <?php
require __DIR__ . '/../vendor/autoload.php'; if (@!include __DIR__ . '/../vendor/autoload.php') {
die('Install packages using `composer install`');
}
// connects to SQlite using dibi class // connects to SQlite using dibi class

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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