diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ if (empty($page)) { } else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) { $script = file_get_contents("./posts/$page.php"); $re = '/<code>([^\(<>\)]*)\(([0-9])\)<\/code>/m'; - $subst = '<a target="_blank" href="https://www.freebsd.org/cgi/man.cgi?query=$1&sektion=$2&format=ascii">$1($2)</a>'; + $subst = '<a href="https://www.freebsd.org/cgi/man.cgi?query=$1&sektion=$2&format=ascii">$1($2)</a>'; $script = preg_replace($re, $subst, $script); eval("?>$script<?php"); } else if (!empty($page) && is_readable("./pages/$page.php")) { |