skip db connection check before setup
close printempw/blessing-skin-server#133
This commit is contained in:
parent
31df74b318
commit
f7b5046a38
|
|
@ -241,7 +241,13 @@ class SetupController extends Controller
|
||||||
* @param bool $returnExisting
|
* @param bool $returnExisting
|
||||||
* @return bool|array
|
* @return bool|array
|
||||||
*/
|
*/
|
||||||
public static function checkTablesExist($tables = [], $returnExistingTables = false) {
|
public static function checkTablesExist($tables = [], $returnExistingTables = false)
|
||||||
|
{
|
||||||
|
if (request()->is('setup') || request()->is('setup/database')) {
|
||||||
|
// We're ready to install Blessing Skin, so skip the checks.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$existingTables = [];
|
$existingTables = [];
|
||||||
$tables = $tables ?: ['users', 'closets', 'players', 'textures', 'options'];
|
$tables = $tables ?: ['users', 'closets', 'players', 'textures', 'options'];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user