Index: branches/5.2.x/core/install/install_toolkit.php =================================================================== diff -u -N -r14764 -r14771 --- branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 14764) +++ branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 14771) @@ -1,6 +1,6 @@ defaultWritablePath = DIRECTORY_SEPARATOR . 'system'; - if (class_exists('kApplication')) { + if ( class_exists('kApplication') ) { // auto-setup in case of separate module install $this->Application =& kApplication::Instance(); + $this->Application->Init(); // needed for standalone module install + $this->Conn =& $this->Application->GetADODBConnection(); } @@ -906,7 +908,7 @@ FROM ' . TABLE_PREFIX . 'Modules WHERE Path = ' . $this->Conn->qstr(rtrim($module_folder, '/') . '/'); $module_name = $this->Conn->GetOne($sql); - + $themes_helper->synchronizeModule($module_name); $this->deleteCache($refresh_permissions);