* * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. */ @define('HORDE_BASE', dirname(__FILE__) . '/..'); require_once HORDE_BASE . '/lib/base.php'; require_once 'Horde/Menu.php'; require_once 'Horde/Help.php'; if (!Auth::isAdmin()) { Horde::authenticationFailureRedirect(); } $title = _("PHP Shell"); require HORDE_TEMPLATES . '/common-header.inc'; require HORDE_TEMPLATES . '/admin/common-header.inc'; $apps_tmp = $registry->listApps(); $apps = array(); foreach ($apps_tmp as $app) { $apps[$app] = $registry->get('name', $app); } asort($apps); $application = Util::getFormData('app', 'horde'); ?>