Move includes around in global_community_block

This commit is contained in:
Hypolite Petovan 2017-12-02 08:43:13 -05:00
parent 4d10f3b3b7
commit 7bd0ab8360

View file

@ -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);