aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index b6cbc5089..37b3fe056 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);
-require(__DIR__ . '/../../constants.php');
-require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
+require dirname(__DIR__, 2) . '/constants.php';
+require LIB_PATH . '/lib_rss.php'; //Includes class autoloader
const MAX_PAYLOAD = 3_145_728;