<!-- Right side tabs --> <table border=0 cellspacing=0 cellpadding=10 width=100%> <tr> <td align=left class="small paddingTop"> <span class="bigHeading"><?php echo $installationStrings['LBL_CONFIG_COMPLETED']; ?> </span> <br> <hr noshade size=1> </td> </tr> <tr> <td align=center class="small" style="height:250px;"> <?php $renameResult = Common_Install_Wizard_Utils::renameInstallationFiles(); $renamefile = $renameResult['renamefile']; $ins_file_renamed = $renameResult['install_file_renamed']; $ins_dir_renamed = $renameResult['install_directory_renamed']; @(include_once 'config.inc.php'); ?> <table border=0 cellspacing=0 cellpadding=5 align="center" width="80%" class="contentDisplay"> <tr> <td align=center class=small> <b><?php echo $installationStrings['APP_NAME'] . ' - ' . $coreBOS_app_version . ' ' . $installationStrings['LBL_ALL_SET_TO_GO']; ?> </b> <hr noshade size=1> <div style="width:100%;padding:10px;" align=left> <strong><?php
preg_match_all("/<tr[^>]*>\n\t\t\t\t\t\t\t\t\t\t <td[^>]*>(.*)<\\/td>\n\t\t\t\t\t\t\t\t\t\t <td[^>]*>(.*)<\\/td>\n\t\t\t\t\t\t\t\t\t\t <td[^>]*>(.*)<\\/td>/Ux", $val, $sub_ext); foreach ($sub[0] as $key => $val) { if (preg_match("/Configuration File \\(php.ini\\) Path /", $val)) { $val = preg_replace("/Configuration File \\(php.ini\\) Path /", '', $val); $phpini = strip_tags($val); } } } if (isset($_REQUEST['filename'])) { $file_name = htmlspecialchars($_REQUEST['filename']); } $failed_permissions = Common_Install_Wizard_Utils::getFailedPermissionsFiles(); $gd_info_alternate = Common_Install_Wizard_Utils::$gdInfoAlternate; $directive_recommended = Common_Install_Wizard_Utils::getRecommendedDirectives(); $directive_array = Common_Install_Wizard_Utils::getCurrentDirectiveValue(); $check_mysql_extension = Common_Install_Wizard_Utils::check_mysql_extension(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title><?php echo $installationStrings['APP_NAME'] . ' - ' . $installationStrings['LBL_CONFIG_WIZARD'] . ' - ' . $installationStrings['LBL_INSTALLATION_CHECK']; ?> </title> <link href="include/install/install.css" rel="stylesheet" type="text/css"> <link href="themes/softed/style.css" rel="stylesheet" type="text/css"> </head> <body class="small cwPageBg" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
static function getDbDefaultPort($dbType) { if (Common_Install_Wizard_Utils::isMySQL($dbType)) { return "3306"; } if (Common_Install_Wizard_Utils::isPostgres($dbType)) { return "5432"; } if (Common_Install_Wizard_Utils::isOracle($dbType)) { return '1521'; } }
} if (isset($_SESSION['installation_info']['currency_code'])) { $currency_code = $_SESSION['installation_info']['currency_code']; } if (isset($_SESSION['installation_info']['currency_symbol'])) { $currency_symbol = $_SESSION['installation_info']['currency_symbol']; } if (isset($_SESSION['installation_info']['selected_optional_modules'])) { $selected_optional_modules = $_SESSION['installation_info']['selected_optional_modules']; } if (isset($_SESSION['installation_info']['db_populate'])) { $db_populate = $_SESSION['installation_info']['db_populate']; } require_once 'install/CreateTables.inc.php'; // Install Vtlib Compliant Modules Common_Install_Wizard_Utils::installMandatoryModules(); Installation_Utils::installOptionalModules($selected_optional_modules); // Unset all of the session variables. $_SESSION = array(); // If it's desired to kill the session, also delete the session cookie. // Note: This will destroy the session, and not just the session data! if (isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time() - 42000, '/'); } // Finally, destroy the session. session_destroy(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
/** Function to return a string with backslashes stripped off * @param $value -- value:: Type string * @returns $value -- value:: Type string array */ function stripslashes_checkstrings($value) { if (is_string($value)) { return stripslashes($value); } return $value; } if (get_magic_quotes_gpc() == 1) { $_REQUEST = array_map("stripslashes_checkstrings", $_REQUEST); $_POST = array_map("stripslashes_checkstrings", $_POST); $_GET = array_map("stripslashes_checkstrings", $_GET); } require_once 'include/install/language/en_us.lang.php'; require_once 'include/install/resources/utils.php'; require_once 'vtigerversion.php'; global $installationStrings, $vtiger_current_version; @(include_once 'config.db.php'); global $dbconfig, $vtconfig; if (empty($_REQUEST['file']) && is_array($vtconfig) && $vtconfig['quickbuild'] == 'true') { $the_file = 'BuildInstallation.php'; } elseif (!empty($_REQUEST['file'])) { $the_file = $_REQUEST['file']; } else { $the_file = "welcome.php"; } Common_Install_Wizard_Utils::checkFileAccessForInclusion("install/" . $the_file); include "install/" . $the_file;
/** Function to return a string with backslashes stripped off * @param $value -- value:: Type string * @returns $value -- value:: Type string array */ function stripslashes_checkstrings($value) { if (is_string($value)) { return stripslashes($value); } return $value; } if (get_magic_quotes_gpc() == 1) { $_REQUEST = array_map("stripslashes_checkstrings", $_REQUEST); $_POST = array_map("stripslashes_checkstrings", $_POST); $_GET = array_map("stripslashes_checkstrings", $_GET); } require_once 'include/install/language/th-TH.lang.php'; require_once 'include/install/resources/utils.php'; require_once 'vtigerversion.php'; global $installationStrings, $vtiger_current_version; @(include_once 'config.db.php'); global $dbconfig, $vtconfig; if (empty($_REQUEST['file']) && is_array($vtconfig) && $vtconfig['quickbuild'] == 'true') { $the_file = 'BuildInstallation.php'; } elseif (!empty($_REQUEST['file'])) { $the_file = $_REQUEST['file']; } else { $the_file = "welcome.php"; } Common_Install_Wizard_Utils::checkFileAccess("install/" . $the_file); include "install/" . $the_file;