aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 11:30:19 +0200
committerCamil Staps2016-08-01 11:30:19 +0200
commit8ee4336d778b2bdc1b8ba522d9251a4f664fe664 (patch)
treed704f32ee80088ba639ab51e5011932f9d45c747 /index.php
parentBraintree status history (diff)
Require paths
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4467853..0a27ed1 100644
--- a/index.php
+++ b/index.php
@@ -27,7 +27,7 @@
/**
* Load the basic configuration (sessions, database, class autoloading, etc.)
*/
-require_once('./conf.php');
+require_once(__DIR__ . '/conf.php');
// Fetch information from the REQUEST_URI.
$_request = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);