Index: custom/install.php =================================================================== --- custom/install.php (revision 15639) +++ custom/install.php (working copy) @@ -9,7 +9,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else { Index: in-auction/install.php =================================================================== --- in-auction/install.php (revision 15639) +++ in-auction/install.php (working copy) @@ -20,7 +20,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else { Index: in-bulletin/install.php =================================================================== --- in-bulletin/install.php (revision 15639) +++ in-bulletin/install.php (working copy) @@ -21,7 +21,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else { Index: in-commerce/install.php =================================================================== --- in-commerce/install.php (revision 15639) +++ in-commerce/install.php (working copy) @@ -20,7 +20,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else { Index: in-link/install.php =================================================================== --- in-link/install.php (revision 15639) +++ in-link/install.php (working copy) @@ -21,7 +21,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else { Index: in-news/install.php =================================================================== --- in-news/install.php (revision 15639) +++ in-news/install.php (working copy) @@ -21,7 +21,12 @@ include_once(FULL_PATH . '/core/kernel/startup.php'); require_once FULL_PATH . '/core/install/install_toolkit.php'; + $constants_file = FULL_PATH . '/' . $module_folder . '/constants.php'; + if ( file_exists($constants_file) ) { + require_once $constants_file; + } + $toolkit = new kInstallToolkit(); } else {