You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$databaseStatus = shell_exec('mysql -u ' . $config["db_username"] . $passwordPart . ' -D ' . $config["db_name"] . ' --execute="SELECT CASE COUNT(*) WHEN \'0\' THEN \'has no invoice table\' ELSE \'has invoice table\' END AS contents FROM information_schema.tables WHERE table_type = \'BASE TABLE\' AND table_name LIKE \'invoice\' AND table_schema = \'' . $config["db_name"] . '\';"');
if (strpos($databaseStatus, "has no invoice table") !== false) {