#!/usr/bin/php -q "]; $style[] = "pre h2{text-decoration:underline}"; $style[] = "input#download{margin:0 0 10px 0}"; $style[] = "pre.config{font-family:bitstream;margin:0;border:none}"; $style[] = "img{display:block;margin:20px 0}"; $style[] = "img:hover{transform:scale(1.1)}"; $style[] = ""; $script = [""; $html = []; $html[] = "

".($argv[2] ? _('Remote peer configuration') : _('Local server configuration'))."

"; $html[] = "
"; $html[] = "
";
$html[] = @file_get_contents("$path/$file.conf");
$html[] = "\n";
$html[] = "
"; if (is_file("$path/$file.png")) { @unlink("$docroot/$file.png"); symlink("$path/$file.png", "$docroot/$file.png"); $html[] = ""; } echo implode($style),implode($script),implode($html); ?>