summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/classes/BitSystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/classes/BitSystem.php b/includes/classes/BitSystem.php
index 7af0304..5b6bb5f 100755
--- a/includes/classes/BitSystem.php
+++ b/includes/classes/BitSystem.php
@@ -207,7 +207,7 @@ class BitSystem extends BitSingleton {
$whereClause = ' WHERE `package`=? ';
}
- if ( empty( $this->mConfig ) && $this->mDb->mDb && $this->mDb->tableExists('kernel_config') ) {
+ if ( empty( $this->mConfig ) && !defined( 'BIT_INSTALL' ) ) {
$this->mConfig = [];
$query = "SELECT `config_name` ,`config_value`, `package` FROM `" . BIT_DB_PREFIX . "kernel_config` " . $whereClause;
if( $rs = $this->mDb->query( $query, $queryVars, -1, -1 ) ) {