]> git.mxchange.org Git - friendica.git/commitdiff
Move includes around in global_community_block
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 2 Dec 2017 13:43:13 +0000 (08:43 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 2 Dec 2017 13:43:13 +0000 (08:43 -0500)
util/global_community_block.php

index db68fdb4b1e966b2d8a025dbc7a7fbb8a8ec17fe..ab586b651017c5ec0acc08a9838b0c187c5dc4b7 100755 (executable)
@@ -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);