summaryrefslogtreecommitdiff
path: root/lib/config.class.php
blob: 67095ee858fd004cb6de179afea83250d675e280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?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
	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
	
	##------------------------------------------------------------------##

}

?>