* * 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_LIBS . 'Horde/Menu.php'; require_once HORDE_LIBS . '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 = $registry->listApps(); $application = Util::getFormData('app', 'horde'); ?>


getParam('fileroot', $applicatio) . '/lib/base.php')) { include $registry->getParam('fileroot', $application) . '/lib/base.php'; } else { $registry->pushApp($application); } require_once HORDE_LIBS . 'Horde/MIME/Viewer.php'; require_once HORDE_LIBS . 'Horde/MIME/Viewer/source.php'; $pretty = highlight_string('\n", "\n", "\n"), array('', "\n", "\n", '', '', ''), $pretty); $pretty = MIME_Viewer_Source::lineNumber(trim($pretty)); echo '
' . _("PHP Code") . '

'; echo $pretty; echo '
' . _("Results") . '
'; echo '
';
    eval($command);
    echo '

'; } ?>
"> hasFeature('javascript')): ?>