<?php
require_once('../../../config.php');
require_once(FOLDER_RELATIVE_COMMON . 'builder-install.php');
// Check for installation previously completed, allow reconfig if authorized.
if (FLAG_INSTALLED == 'Y') {
require_once(FOLDER_RELATIVE_COMMON . 'authorization.php');
}
// Ensure further attempts to get at the install
// scripts are via authorized access only.
require_once(FOLDER_RELATIVE_COMMON . 'filesystem.php');
require_once(FOLDER_RELATIVE_COMMON . 'configurator.php');
writeConfigurationChangeToDisk("Y");
$content = fileRead("install_confirm.html");
$page = buildInstallPage("", "", "Success", $content, 5);
echo $page;
?>