From b86277b0ff7aa7ea5e04a646b628785fc31f0c3e Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 11 Mar 2013 16:13:09 -0700 Subject: dangerous typo that removes all your hublocs, fix reshare formatting --- index.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index cc6249256..8d59a8a8e 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,6 @@ $install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false $a->language = get_best_language(); -load_translation_table($a->language); /** * @@ -53,9 +52,17 @@ if(! $install) { require_once("session.php"); load_hooks(); call_hooks('init_1'); + + load_translation_table($a->language); +} +else { + // load translations but do not check plugins as we have no database + load_translation_table($a->language,true); } + + /** * * Important stuff we always need to do. -- cgit v1.2.3