summaryrefslogtreecommitdiff
path: root/app/common.php
diff options
context:
space:
mode:
authorYannick Ihmels <yannick@ihmels.com>2015-07-10 16:26:49 +0200
committerYannick Ihmels <yannick@ihmels.com>2015-07-10 16:26:49 +0200
commitb5ffecdfdee7545cf13b272849c72f0e633fa737 (patch)
tree98185baf5a97c34dd720cd7da64f401ee0beb5ef /app/common.php
parent8da11d6e030b8144250b71a5874a14fe835e837e (diff)
Require autoloader relative from the current directory
Diffstat (limited to 'app/common.php')
-rw-r--r--app/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/common.php b/app/common.php
index d1659018..b5871673 100644
--- a/app/common.php
+++ b/app/common.php
@@ -1,6 +1,6 @@
<?php
-require 'vendor/autoload.php';
+require dirname(__DIR__) . '/vendor/autoload.php';
// Automatically parse environment configuration (Heroku)
if (getenv('DATABASE_URL')) {