summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9998ca0)
raw | patch | inline | side by side (parent: 9998ca0)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Nov 2007 18:25:44 +0000 (18:25 +0000) | ||
committer | cajus <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] | patch | blob |
test | [deleted file] | patch | blob | history |
diff --git a/index.php b/index.php
--- /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
--- 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);
-
-?>