Index: releases/1.1.2-RC1/install.php
===================================================================
diff -u -r13093 -r14289
--- releases/1.1.2-RC1/install.php	(.../branches/1.1.x/install.php)	(revision 13093)
+++ releases/1.1.2-RC1/install.php	(.../releases/1.1.2-RC1/install.php)	(revision 14289)
@@ -1,12 +1,12 @@
 <?php
-	$module_folder = 'custom';
+	$module_folder = 'modules/custom';
 
 	if (!defined('IS_INSTALL')) {
 		// separate module install
 		define('IS_INSTALL', 1);
 		define('ADMIN', 1);
 		define('REL_PATH', $module_folder);
-		define('FULL_PATH', realpath(dirname(__FILE__) . '/..') );
+		define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') );
 
 		include_once(FULL_PATH . '/core/kernel/startup.php');
 		require_once FULL_PATH . '/core/install/install_toolkit.php';
@@ -22,7 +22,7 @@
 	$application =& kApplication::Instance();
 	$application->Init();
 
-	if ($application->RecallVar('user_id') != -1) {
+	if ($application->RecallVar('user_id') != USER_ROOT) {
 		die('restricted access!');
 	}