Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r14803 -r14811 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14803) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14811) @@ -1,6 +1,6 @@ TableFound('Modules')) { + if (defined('IS_INSTALL') && IS_INSTALL && !$this->TableFound('Modules', true)) { $this->registerModuleConstants(); return ; } @@ -2630,11 +2630,12 @@ * Allows to detect table's presense in database * * @param string $table_name + * @param bool $force * @return bool */ - function TableFound($table_name) + function TableFound($table_name, $force = false) { - return $this->Conn->TableFound($table_name); + return $this->Conn->TableFound($table_name, $force); } /**