Code

Renamed and created html directory
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Nov 2007 18:25:44 +0000 (18:25 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Nov 2007 18:25:44 +0000 (18:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7792 594d385d-05f5-0310-b6e9-bd551577e9d8

index.php [new file with mode: 0755]
test [deleted file]

diff --git a/index.php b/index.php
new file mode 100755 (executable)
index 0000000..5d71f7c
--- /dev/null
+++ b/index.php
@@ -0,0 +1,37 @@
+#!/usr/bin/php
+<?php
+
+
+/* This is good for testing... */
+error_reporting (E_ALL | E_STRICT);
+
+/* Escape all preg_* relevant characters */
+function normalizePreg($input)
+{
+  return (addcslashes($input, '[]()|/.*+-'));
+}
+
+
+
+/* Initiate autoloader... */
+require_once("include/autoload.inc");
+restore_error_handler();
+try {
+
+       /* Get new test instance of the Configuration */
+       $cr= Registry::getInstance("ConfigManager");
+       $cr->load("gosa.conf");
+
+       /* Get a new instance of the main Viewport */
+       $vc= new ViewportController();
+       echo $vc->render();
+
+} catch (Exception $e) {
+       echo "\n-GOsa Exception-----------------------------------------------------------\n\n".
+            $e->__toString().
+            "\n\n--------------------------------------------------------------------------\n\n";
+}
+
+exit (0);
+
+?>
diff --git a/test b/test
deleted file mode 100755 (executable)
index 5d71f7c..0000000
--- a/test
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/php
-<?php
-
-
-/* This is good for testing... */
-error_reporting (E_ALL | E_STRICT);
-
-/* Escape all preg_* relevant characters */
-function normalizePreg($input)
-{
-  return (addcslashes($input, '[]()|/.*+-'));
-}
-
-
-
-/* Initiate autoloader... */
-require_once("include/autoload.inc");
-restore_error_handler();
-try {
-
-       /* Get new test instance of the Configuration */
-       $cr= Registry::getInstance("ConfigManager");
-       $cr->load("gosa.conf");
-
-       /* Get a new instance of the main Viewport */
-       $vc= new ViewportController();
-       echo $vc->render();
-
-} catch (Exception $e) {
-       echo "\n-GOsa Exception-----------------------------------------------------------\n\n".
-            $e->__toString().
-            "\n\n--------------------------------------------------------------------------\n\n";
-}
-
-exit (0);
-
-?>