bootstrap.php
15 lines
| 1 | <?php |
| 2 | |
| 3 | if (!file_exists($autoload = dirname(__DIR__) . '/vendor/autoload.php')) { |
| 4 | echo <<<EOF |
| 5 | |
| 6 | You must set up the project dependencies, run the following commands: |
| 7 | |
| 8 | $ curl -sS https://getcomposer.org/installer | php |
| 9 | $ php composer.phar install |
| 10 | |
| 11 | EOF; |
| 12 | exit(1); |
| 13 | } |
| 14 | require $autoload; |
| 15 |