Index: branches/version-2/data/include/module.inc
===================================================================
--- branches/version-2/data/include/module.inc	(revision 17138)
+++ branches/version-2/data/include/module.inc	(revision 17147)
@@ -22,5 +22,7 @@
  */
 
-if (!defined('ECCUBE_INSTALL')) {
+if (!defined('ECCUBE_INSTALL')
+ || preg_match('|install/index.php|', $_SERVER['PHP_SELF'])) {
+
     return;
 }
