Skip to content

Commit

Permalink
Fix require autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
lwwcas committed Aug 12, 2019
1 parent d00a764 commit a2e0c6e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lwwcas-holo-builder-bin
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/usr/bin/env php
<?php

require '/home/lucas/vendor/autoload.php';
//if (file_exists(__DIR__.'/../../../autoload.php')) {
// require __DIR__.'/../../../autoload.php';
//} else {
// require __DIR__.'/vendor/autoload.php';
//}
if (file_exists(__DIR__.'/../../../autoload.php')) {
require __DIR__.'/../../../autoload.php';
} else {
require __DIR__.'/vendor/autoload.php';
}

use Symfony\Component\Console\Application;

Expand Down

0 comments on commit a2e0c6e

Please sign in to comment.