chdir(dirname(__DIR__));
+if (!file_exists('vendor/autoload.php')) {
+ throw new RuntimeException('vendor/autoload.php could not be found. Did you run php composer.phar install?');
+ exit;
+}
+
// Composer autoloading
require_once('vendor/autoload.php');