allow extension links to link to internal pages

This commit is contained in:
Shish 2009-01-15 21:39:13 -08:00
parent aca8a039e1
commit 2ba285a005

View File

@ -25,6 +25,9 @@ class ExtensionInfo { // {{{
}
if(preg_match("/Link: (.*)/", $line, $matches)) {
$this->link = $matches[1];
if($this->link[0] == "/") {
$this->link = make_link(substr($this->link, 1));
}
}
if(preg_match("/Author: (.*) [<\(](.*@.*)[>\)]/", $line, $matches)) {
$this->author = $matches[1];