mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Move includes around in global_community_block
This commit is contained in:
parent
4d10f3b3b7
commit
7bd0ab8360
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue