aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/posting-api.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop/posting-api.php')
-rw-r--r--phpBB/develop/posting-api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/develop/posting-api.php b/phpBB/develop/posting-api.php
index a966383df9..494cb9773d 100644
--- a/phpBB/develop/posting-api.php
+++ b/phpBB/develop/posting-api.php
@@ -1,8 +1,8 @@
<?php
define('IN_PHPBB', true);
-$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
-$phpEx = substr(strrchr(__FILE__, '.'), 1);
-include($phpbb_root_path . 'common.' . $phpEx);
+define('PHPBB_ROOT_PATH', './../');
+define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
+include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
//$db = new dbal_mysqli();