exit; } if (isset($_GET['getinfo'], $_GET['pd'], $_GET['pp'])) { $installer = new Tiki_Profile_Installer(); $profile = Tiki_Profile::fromNames($_GET['pd'], $_GET['pp']); $error = ''; // Check if profile is available. // This will not be the case for a misconfigured profile server if ($profile === false) { $error = "Profile is not available: " . $_GET['pd'] . ", " . $_GET['pp']; } try { if (!empty($error)) { $sequencable = false; } else { if (!($deps = $installer->getInstallOrder($profile))) { $deps = $profile->getRequiredProfiles(true); $deps[] = $profile; $sequencable = false; } else { $sequencable = true; } } } catch (Exception $e) { $error = $e->getMessage(); $sequencable = false; } $dependencies = array(); $userInput = array(); $installed = false; $url = '';