12345678910111213141516171819202122232425262728 |
- <?php
- $vendorDirPath = realpath(__DIR__ . '/vendor');
- if (file_exists($vendorDirPath . '/autoload.php')) {
- require $vendorDirPath . '/autoload.php';
- } else {
- throw new Exception(
- sprintf(
- 'Could not find file \'%s\'. It is generated by Composer. Use \'install --prefer-source\' or \'update --prefer-source\' Composer commands to move forward.',
- $vendorDirPath . '/autoload.php'
- )
- );
- }
|