@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | error_reporting(E_ALL); |
| 4 | -$autoloader = __DIR__.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php'; |
|
| 5 | -if (!file_exists($autoloader)){ |
|
| 6 | - echo 'Composer autoloader not found:'.$autoloader.PHP_EOL; |
|
| 7 | - echo 'Please issue \'composer install\' and try again.'.PHP_EOL; |
|
| 4 | +$autoloader = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; |
|
| 5 | +if (!file_exists($autoloader)) { |
|
| 6 | + echo 'Composer autoloader not found:' . $autoloader . PHP_EOL; |
|
| 7 | + echo 'Please issue \'composer install\' and try again.' . PHP_EOL; |
|
| 8 | 8 | exit(1); |
| 9 | 9 | } |
| 10 | 10 | require $autoloader; |
| 11 | 11 | \ No newline at end of file |