summaryrefslogtreecommitdiff
path: root/lib/config.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.class.php')
-rw-r--r--lib/config.class.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/config.class.php b/lib/config.class.php
new file mode 100644
index 0000000..7a2782d
--- /dev/null
+++ b/lib/config.class.php
@@ -0,0 +1,35 @@
+<?php
+
+# define a class for general site configuration
+class siteConfig {
+
+ # predefined variables
+ # to change the database type see lib/database.class.php
+ public $_dbHost; # db host
+ public $_dbName; # name of the database
+ public $_dbUser; # database user
+ public $_dbPass; # database password
+
+ public $_rootDir; # root of the site from the perspective of the filesystem
+ public $_rootURL; # root URL of the site
+ public $_adodbDir; # where the ADOBD libraries live - adodb.sourceforge.net
+ var $_imgDir; # images directory
+ var $_cssDir; # css files directory
+ var $_jsDir; # javascript files directory
+
+ # class constructor
+ function __construct() {
+
+ # nothing to do at the moment
+
+ }
+
+ ##------------------------------------------------------------------##
+
+ # add functions here
+
+ ##------------------------------------------------------------------##
+
+}
+
+?>