diff --git a/system/init.php b/system/init.php index db1045b4..ec61b459 100644 --- a/system/init.php +++ b/system/init.php @@ -135,7 +135,7 @@ $eloquentConnection = null; require_once SYSTEM . 'database.php'; // verify myaac tables exists in database -if(!$db->hasTable('myaac_account_actions')) { +if(!defined('MYAAC_INSTALL') && !$db->hasTable('myaac_account_actions')) { throw new RuntimeException('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 ' . BASE_URL . 'install'); }