summaryrefslogtreecommitdiff
path: root/lib/config.class.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2008-02-03 23:23:24 +0000
committerNathan Kinkade <nath@nkinka.de>2008-02-03 23:23:24 +0000
commitd895b852a6e160496ffc760d46d3719a3d62ff86 (patch)
tree52230bb04148197e8312e09b5c5273417e7a3be9 /lib/config.class.php
Initial checkin of nutridb.org and basic subversion directory structure
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
+
+ ##------------------------------------------------------------------##
+
+}
+
+?>