From cbc7054417fab4250ff72b79415c7d0cc61b5523 Mon Sep 17 00:00:00 2001 From: cajus Date: Sat, 3 Nov 2007 13:42:07 +0000 Subject: [PATCH] Made it read from "test" git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7724 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ObjectListViewport.inc | 2 +- test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_ObjectListViewport.inc b/include/class_ObjectListViewport.inc index 414d45ba4..09cdc47f8 100644 --- a/include/class_ObjectListViewport.inc +++ b/include/class_ObjectListViewport.inc @@ -50,7 +50,7 @@ class ObjectListViewport { /* Dummy here */ $cr= Registry::getInstance("ConfigManager"); - $cr->setSection("plugin/sample"); + $cr->setSection($config); $this->headline= $cr->getValue("headline"); $this->footer= $cr->getValue("footer"); $this->entryFormat= $cr->getValue("entryFormat"); diff --git a/test b/test index 6101c399f..ff8262398 100755 --- a/test +++ b/test @@ -14,7 +14,7 @@ try { $cr->load("gosa.conf"); /* Get a new test instance of ObjectListViewports */ - $vp= new ObjectListViewport(array("dummy", "dummy")); + $vp= new ObjectListViewport("plugin/sample"); echo $vp->render(); } catch (Exception $e) { -- 2.30.2