From 7bd0ab8360c672638d6a347ff35e4d21a25378fa Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 2 Dec 2017 08:43:13 -0500 Subject: [PATCH] Move includes around in global_community_block --- util/global_community_block.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/util/global_community_block.php b/util/global_community_block.php index db68fdb4b1..ab586b6510 100755 --- a/util/global_community_block.php +++ b/util/global_community_block.php @@ -32,14 +32,13 @@ use Friendica\BaseObject; use Friendica\Object\Contact; require_once 'boot.php'; +require_once 'include/dba.php'; +require_once 'include/text.php'; $a = get_app();; BaseObject::setApp($a); require_once '.htconfig.php'; -require_once 'include/dba.php'; -require_once 'include/text.php'; - dba::connect($db_host, $db_user, $db_pass, $db_data); unset($db_host, $db_user, $db_pass, $db_data);