diff --git a/index.php b/index.php index eb24fd45..4c24baf8 100644 --- a/index.php +++ b/index.php @@ -170,6 +170,11 @@ require_once(SYSTEM . 'status.php'); $twig->addGlobal('config', $config); $twig->addGlobal('status', $status); +// verify myaac tables exists in database +if(!tableExist('myaac_account_actions')) { + die('Seems that the table myaac_account_actions of MyAAC doesn\'t exist in the database. This is a fatal error. You can try to reinstall MyAAC by visiting this url.'); +} + // database migrations $tmp = ''; if(fetchDatabaseConfig('database_version', $tmp)) { // we got version