-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.inc.default
90 lines (77 loc) · 2.41 KB
/
configuration.inc.default
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
define('COPYRIGHT',"/**
* @copyright Copyright (C) 2007 Cliff Ingham. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
*/");
/**
* Used to keep sessions on the same webserver seperate;
*/
define('APPLICATION_NAME','photobase');
/**
* This needs to point to the library directory inside your
* installation of the ZendFramework
* http://framework.zend.com
*/
define('ZEND','/var/www/libraries/ZendFramework/library');
/**
* Where on the filesystem this application is installed
*/
define('APPLICATION_HOME','/var/www/sites/photobase');
/**
* Where on the filesystem the framework is installed.
*/
define('FRAMEWORK',APPLICATION_HOME.'/libraries/framework');
/**
* The URL to get to this site
* Do NOT use a trailing slash
*/
define('BASE_URL','http://localhost/photobase');
/**
* Used when there's an error on the site. The Framework will
* print out a nice error message, encouraging users to report any problems
* See: FRAMEWORK/ITSFunctions.inc
*/
define('ADMINISTRATOR_NAME','Site Admin');
define('ADMINISTRATOR_EMAIL','[email protected]');
/**
* Database Setup
*/
define('DB_TYPE','mysql');
define('DB_DSN','host=localhost;'); # You must include the trailing semi-colon
define('DB_NAME',APPLICATION_NAME);
define('DB_USER',APPLICATION_NAME);
define('DB_PASS','password');
# This application calls mysql and mysqldump from the command line through
# exec() and needs the path to the binaries
define('MYSQL_PATH','/usr/local/mysql');
/**
* LDAP Configuration
* This is required in order to use the LDAP authentication
* If you do not want to use LDAP authentication, you can comment this out
*/
define('LDAP_DOMAIN','city.bloomington.in.us');
define('LDAP_DN','ou=people,o='.LDAP_DOMAIN);
define('LDAP_USERNAME_ATTRIBUTE','uid');
define('LDAP_ADMIN_USER','username');
define('LDAP_ADMIN_PASS','password');
define('LDAP_SERVER','ldap.bloomington.in.gov');
define('LDAP_PASSWORD_ATTRIBUTE','userpassword');
/**
* Image handling library
* Set the path to the ImageMagick binaries
*/
define('IMAGEMAGICK','/usr/bin');
/**
* Audio/Video handling library
* Set the path to the MPlayer binaries
*/
define('MPLAYER','/usr/local/mplayer/bin');
/**
* Import global functions that we use for many applications we write
*/
include FRAMEWORK.'/globalFunctions.inc';
/**
* Session Startup
*/
session_start();
if (!isset($_SESSION['filters'])) { $_SESSION['filters'] = array(); }