diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-08-28 16:21:10 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-08-28 17:34:00 +0200 |
commit | 73175e2b64c85c7a8c528c76452cd82ffa99f925 (patch) | |
tree | 7464fe30c04fe245424646a98cfd6247d060e517 /includes/autoload.php | |
parent | e1762e7764d4ee4f37757ecd2630f62a440dbf0e (diff) |
#337: Added routing
Diffstat (limited to 'includes/autoload.php')
-rw-r--r-- | includes/autoload.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/autoload.php b/includes/autoload.php new file mode 100644 index 00000000..f51f89e4 --- /dev/null +++ b/includes/autoload.php @@ -0,0 +1,9 @@ +<?php + +// Check for autoloader +if (!is_readable(__DIR__ . '/../vendor/autoload.php')) { + die('Please run composer.phar install'); +} + +// Include composer autoloader +require_once __DIR__ . '/../vendor/autoload.php'; |