From 2ba285a005abecc15e0016dbba4d8eb851281bec Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 15 Jan 2009 21:39:13 -0800 Subject: [PATCH] allow extension links to link to internal pages --- ext/ext_manager/main.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/ext_manager/main.php b/ext/ext_manager/main.php index 6795e3c2..d1db1ae2 100644 --- a/ext/ext_manager/main.php +++ b/ext/ext_manager/main.php @@ -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];