diff options
Diffstat (limited to 'import.arches.php')
-rw-r--r-- | import.arches.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/import.arches.php b/import.arches.php index ff4ce72..efa09a9 100644 --- a/import.arches.php +++ b/import.arches.php @@ -1,10 +1,14 @@ <? require_once 'header.php'; - require_once 'class.portage.tree.php'; - $tree = new PortageTree(); + if(!$tree) { + require_once 'class.portage.tree.php'; + $tree = new PortageTree(); + } + // FIXME This is really dumb, just grab all the arches + // since I look at all of them now. $arr_arches = $tree->getArches(); $arr_arches = array_merge($arr_arches, $tree->getArches(true)); |