예제 #1
0
	define('INST_RUNSCRIPT', pathinfo(__FILE__, PATHINFO_BASENAME));
    define('INST_BASEDIR',	 str_replace(INST_RUNSCRIPT, '', __FILE__));
    define('INST_RUNFOLDER', '');
	define('INST_RUNINSTALL', 'installer.php');

	include('configuration.php');
	include($assetFolder.DIRECTORY_SEPARATOR.'class.htmlmaker.php');
	include($assetFolder.DIRECTORY_SEPARATOR.'class.masks.php');
	include($assetFolder.DIRECTORY_SEPARATOR.'helper.functions.php');

	$page = new Inst_HtmlMaker();
    $mask = new Inst_Masks();

	$page->HideDisabledSteps(false);
	$page->HideIsHiddenSteps(false);
	$page->UseStepWait(false);
	
	// Get the settings for some requested step
	$step = (isset($_REQUEST['step'])) ? $_REQUEST['step'] : 'overview';
	$sett = false;
	if(isset($steps[$step]))
		$sett = $steps[$step];

	$keywords[STEP_ADDEDINFO] = array();
	foreach($steps[STEP_ADDEDINFO]['form'] as $control)
	{
		if(is_array($control) && isset($control['keyword']))
		{
			if(isset($control['value']))
				$keywords[STEP_ADDEDINFO][$control['keyword']] = $control['value'];