Skip to content

Commit

Permalink
examples: uses composer autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 21, 2017
1 parent 444e3f4 commit d3cb2fb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/connecting-to-databases.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


// connects to SQlite using dibi class
Expand Down
2 changes: 1 addition & 1 deletion examples/database-reflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/dumping-sql-and-result-set.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/importing-dump-from-file.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/query-language-and-conditions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/query-language-basic-examples.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';

date_default_timezone_set('Europe/Prague');

Expand Down
2 changes: 1 addition & 1 deletion examples/using-datetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';

date_default_timezone_set('Europe/Prague');

Expand Down
2 changes: 1 addition & 1 deletion examples/using-fluent-syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';

date_default_timezone_set('Europe/Prague');

Expand Down
2 changes: 1 addition & 1 deletion examples/using-limit-and-offset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/using-logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';

date_default_timezone_set('Europe/Prague');

Expand Down
2 changes: 1 addition & 1 deletion examples/using-profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/using-substitutions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down
2 changes: 1 addition & 1 deletion examples/using-transactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php

require __DIR__ . '/../src/loader.php';
require __DIR__ . '/../vendor/autoload.php';


dibi::connect([
Expand Down

0 comments on commit d3cb2fb

Please sign in to comment.