summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-10 16:22:09 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-10 16:22:09 +0100
commitf1e7aea6a7a18869a96052da37a642e93f89d01a (patch)
treea680fc806b081e1c9ea3c7ca14e2a16fb2e46572 /includes
parent354cf0ef59a366797b1bbe9bdeffe80951bc9792 (diff)
downloadlanguages-f1e7aea6a7a18869a96052da37a642e93f89d01a.tar.gz
languages-f1e7aea6a7a18869a96052da37a642e93f89d01a.tar.bz2
languages-f1e7aea6a7a18869a96052da37a642e93f89d01a.zip
Use BIT_INSTALL to block database access until database has been populated
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/classes/BitLanguage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/classes/BitLanguage.php b/includes/classes/BitLanguage.php
index 31640ae..616cf66 100755
--- a/includes/classes/BitLanguage.php
+++ b/includes/classes/BitLanguage.php
@@ -37,7 +37,7 @@ class BitLanguage extends BitSingleton {
}
public function load() {
- if( parent::load() && $this->mDb->mDb && $this->mDb->tableExists( 'i18n_languages' ) ) {
+ if( parent::load() && !defined( 'BIT_INSTALL' ) ) {
$this->mLanguageList = $this->listLanguages();
$this->autoSetLanguage();
}