Created
June 16, 2017 20:18
-
-
Save alnutile/670dd1ead5b6f88f5aaa542284dea3d9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
define('COMMAND_START', microtime(true)); | |
/* | |
|-------------------------------------------------------------------------- | |
| Register The Composer Auto Loader | |
|-------------------------------------------------------------------------- | |
| | |
| Composer provides a convenient, automatically generated class loader | |
| for our application. We just need to utilize it! We'll require it | |
| into the script here so that we do not have to worry about the | |
| loading of any our classes "manually". Feels great to relax. | |
| | |
*/ | |
if (is_file($autoload = __DIR__.'/../vendor/autoload.php')) { | |
require $autoload; | |
} else { | |
require __DIR__ . '/../../../../vendor/autoload.php'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment