getConfigKey('is_upgrade'); $result = false; $action = (isset($_GET['action'])) ? $_GET['action'] : ''; /** * recheck to see if written files are valid */ if ($action == 'recheck') { $result = $zc_install->validateConfigFiles($http_server); } /** * write files and check to see if they're valid */ if ($result == false || $action == 'write') { $result = $zc_install->writeConfigFiles(); } // if config files wrote okay, carry on to next step if ($result == true) { $zc_install->resetConfigKeys(); $zc_install->resetConfigInfo(); header('location: index.php?main_page=store_setup' /*. zcInstallAddSID()*/ ); exit; } else { $flag_check_config_keys = true; } // otherwise, proceed with displaying file contents for manual setup -- (copy/paste from template output) ?>