summaryrefslogtreecommitdiff
path: root/config.class
diff options
context:
space:
mode:
authorChristian Schneider2006-10-26 13:35:12 +0000
committerChristian Schneider2006-10-26 13:35:12 +0000
commita5a19fd672bc0b8113d620669b557f17dccd343a (patch)
tree876ba4fec8362ac2e9374f61b9b7f67fcd2b8e59 /config.class
downloaditools-a5a19fd672bc0b8113d620669b557f17dccd343a.tar.gz
itools-a5a19fd672bc0b8113d620669b557f17dccd343a.tar.bz2
itools-a5a19fd672bc0b8113d620669b557f17dccd343a.zip
Moved itools to live branch
Diffstat (limited to 'config.class')
-rw-r--r--config.class36
1 files changed, 36 insertions, 0 deletions
diff --git a/config.class b/config.class
new file mode 100644
index 0000000..0998c28
--- /dev/null
+++ b/config.class
@@ -0,0 +1,36 @@
+<?php
+/*
+** $Id$
+**
+** ITools - the Internet Tools Library
+**
+** Copyright (C) 1995-2003 by the ITools Authors.
+** This program is free software; you can redistribute it and/or
+** modify it under the terms of either the GNU General Public License
+** or the GNU Lesser General Public License, as published by the Free
+** Software Foundation. See http://www.gnu.org/licenses/ for details.
+**
+** Class it_config: Server-wide ITools Configuration
+** Can be overloaded as needed by applications
+*/
+
+/**
+ * Class it_config: Server-wide ITools Configuration
+ * Can be overloaded as needed by applications
+ */
+class it_config
+{
+ /* Generic Paraphernalia (readable) */
+ var $project_root; /* string: usually /www/gna.ch */
+
+/**
+ * Constructor: Initializes public fields
+ */
+function it_config()
+{
+ $this->project_root = dirname($_SERVER['DOCUMENT_ROOT']);
+}
+
+} /* End Class it_config */
+
+?>