Moving the old code aside into the archive as i begin a new
[glcas.git] / lib / config.php
diff --git a/lib/config.php b/lib/config.php
deleted file mode 100644 (file)
index 272e641..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-global $configured, $BASE_DIR, $DB_HANDLE;
-$configured = false;
-$DB_HANDLE = false;
-
-$BASE_DIR = realpath(dirname(__FILE__)."/../");
-
-global $BASE_DIR;
-
-
-if(file_exists("../var/config.php")) {
-       require_once("../var/config.php");
-       $configured = true;
-}
-
-if(file_exists("/var/glcas/config.php")) {
-       require_once("/var/glcas/config.php");
-       $configured = true;
-}
-
-if(file_exists("/etc/glcas/config.php")) {
-       require_once("/etc/glcas/config.php");
-       $configured = true;
-}
-?>
\ No newline at end of file