Skip to content

Commit

Permalink
integration with dmc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdans committed Mar 19, 2018
1 parent a3f2765 commit 914e3b6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions bin/dmc
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
#!/usr/bin/env php
<?php

// application.php
$autoloadFiles = [
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php'

require __DIR__.'/../vendor/autoload.php';
];

foreach ($autoloadFiles as $autoloadFile) {
if (file_exists($autoloadFile)) {
require_once $autoloadFile;
break;
}
}

use Symfony\Component\Console\Application;

Expand Down

0 comments on commit 914e3b6

Please sign in to comment.