Index: branches/5.1.x/install.php =================================================================== diff -u -r13196 -r13579 --- branches/5.1.x/install.php (.../install.php) (revision 13196) +++ branches/5.1.x/install.php (.../install.php) (revision 13579) @@ -1,6 +1,6 @@ <?php /** -* @version $Id: install.php 13196 2010-03-10 10:44:07Z alex $ +* @version $Id: install.php 13579 2010-05-19 07:26:53Z alex $ * @package In-Link * @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved. * @license GNU/GPL @@ -34,7 +34,7 @@ $application =& kApplication::Instance(); $application->Init(); - if ($application->RecallVar('user_id') != -1) { + if ($application->RecallVar('user_id') != USER_ROOT) { die('restricted access!'); }