Created
February 10, 2016 03:52
-
-
Save brobie/e76c491538e3ead27800 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (file_exists($vendorAutoload)) { | |
$composerAutoloader = include $vendorAutoload; | |
} else { | |
throw new \Exception( | |
'Vendor autoload is not found. Please run \'composer install\' under application root directory.' | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment