Index: trunk/admin/install.php
===================================================================
diff -u -r66 -r67
--- trunk/admin/install.php (.../install.php) (revision 66)
+++ trunk/admin/install.php (.../install.php) (revision 67)
@@ -3,8 +3,7 @@
//$new_version = '1.0.2';
-//define("GET_LICENSE_URL", "http://www.in-portal.net/licensing/license.php");
-define("GET_LICENSE_URL", "http://maris.prod.intechnic.lv/in-business/license.php");
+define("GET_LICENSE_URL", "http://www.intechnic.com/myaccount/license.php");
define('BACKUP_NAME', 'dump(.*).txt'); // how backup dump files are named
$general_error = '';
@@ -15,6 +14,8 @@
$install_type = $_GET['install_type'];
}
+$force_finish = isset($_REQUEST['ff']) ? true : false;
+
$pathtoroot = "";
if(!strlen($pathtoroot))
{
@@ -130,6 +131,16 @@
$configs[3] = "in-portal:configure_categories";
$mods[3] = "In-Portal";
+
+// simulate rootURL variable: begin
+ $rootURL = 'http://'.dirname($_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']);
+ $tmp = explode('/', $rootURL);
+ if( $tmp[ count($tmp) - 1 ] == $admin) unset( $tmp[ count($tmp) - 1 ] );
+ $rootURL = implode('/', $tmp).'/';
+ unset($tmp);
+ //echo "RU: $rootURL
";
+// simulate rootURL variable: end
+
if(strlen($g_DBType)>0 && strlen($state)>0 && $state !="dbinfo" && $state !="db_config_save")
{
require_once($pathtoroot."kernel/startup.php");
@@ -160,7 +171,7 @@
}
require_once($pathtoroot.$admin."/install/inst_ado.php");
-
+$helpURL = $rootURL.$admin.'/help/install_help.php?destform=popup&help_usage=install';
?>