contrib documentation

This commit is contained in:
Shish
2009-01-16 00:18:41 -08:00
parent 68159753d4
commit 17ad021cca
21 changed files with 116 additions and 12 deletions

View File

@ -17,7 +17,6 @@ class ExtensionInfo { // {{{
$this->ext_name = $matches[1];
$this->name = $this->ext_name;
$this->enabled = $this->is_enabled($this->ext_name);
$this->link = make_link("ext_doc/{$this->ext_name}");
for($i=0; $i<count($lines); $i++) {
$line = $lines[$i];
@ -59,6 +58,9 @@ class ExtensionInfo { // {{{
break;
}
}
if(is_null($this->link) && !is_null($this->documentation)) {
$this->link = make_link("ext_doc/{$this->ext_name}");
}
}
private function is_enabled($fname) {