Change database connection check
Change database connection check

The DB::select('SHOW TABLES') command does no't work with SQLITE.
Checking for the name of the database using the DB::connection() class is a more robust and future proof method of determining if there is a working DB connection available.
dwijitsolutions/laraadmin,phlema/laraadmin,dwijitsolutions/laraadmin,phlema/laraadmin,dwijitsolutions/laraadmin,phlema/laraadmin