aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-11 16:13:09 -0700
committerfriendica <info@friendica.com>2013-03-11 16:13:09 -0700
commitb86277b0ff7aa7ea5e04a646b628785fc31f0c3e (patch)
tree2774bc8509ea21cff7d32a47650227c9e914c46d /index.php
parentbcf4592cb078b6afc3b8c65cd5832cee17a38ffc (diff)
downloadvolse-hubzilla-b86277b0ff7aa7ea5e04a646b628785fc31f0c3e.tar.gz
volse-hubzilla-b86277b0ff7aa7ea5e04a646b628785fc31f0c3e.tar.bz2
volse-hubzilla-b86277b0ff7aa7ea5e04a646b628785fc31f0c3e.zip
dangerous typo that removes all your hublocs, fix reshare formatting
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 8 insertions, 1 deletions
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.