1 #!/usr/bin/php
2 <?php
4 /* This is good for testing... */
5 error_reporting (E_ALL | E_STRICT);
7 /* Initiate autoloader... */
8 require_once("include/autoload.inc");
10 try {
12 /* Get new test instance of the Configuration */
13 $cr= Registry::getInstance("ConfigManager");
14 $cr->load("gosa.conf");
16 /* Get a new test instance of ObjectListViewports */
17 $vp= new ObjectListViewport(array("dummy", "dummy"));
18 echo $vp->render();
20 } catch (Exception $e) {
21 echo "\n-GOsa Exception-----------------------------------------------------------\n\n".
22 $e->__toString().
23 "\n\n--------------------------------------------------------------------------\n\n";
24 }
26 exit (0);
28 ?>