-
Notifications
You must be signed in to change notification settings - Fork 1
/
institution.cfg.php.sample
54 lines (40 loc) · 2.62 KB
/
institution.cfg.php.sample
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
<?php
# copy this file to institution.cfg.php and replace the example values
# below with the ones appropriate for your institution
define('INSTITUTION_DOMAIN', 'institution.edu');
# used for session security
define('FINGERPRINT_SALT', 'yoursaltstringhere');
# application folder path
define('APP_FOLDER', 'http://localhost/digitalfieldnotebooks');
define('APP_ROOT_PATH', '/digitalfieldnotebooks');
# database connection
define('DB_SERVER', 'yourdbserver'); // e.g. mysql.college.edu
define('DB_NAME', 'digitalfieldnotebooks');
define('DB_USER', 'digitalfieldnotebooksweb'); // this user (whatever you call it) should have only basic SELECT, INSERT, UPDATE, DELETE privileges
define('DB_PASS', 'yourfancypassword');
# external Content Delivery Network
# ***** Google CDN: https://developers.google.com/speed/libraries/devguide#jquery
define('PATH_JQUERY_JS', '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js');
define('PATH_JQUERYUI_JS', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js');
define('PATH_JQUERYUI_CSS', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/themes/dot-luv/jquery-ui.min.css');
# local file paths
# ***** Bootstrap: http://getbootstrap.com/
define('PATH_BOOTSTRAP_JS', APP_ROOT_PATH.'/js/bootstrap.min.js?rel=2.3.2');
define('PATH_BOOTSTRAP_CSS', APP_ROOT_PATH.'/css/bootstrap.min.css?rel=2.3.2');
define('PATH_BOOTSTRAP_RESPONSIVE_CSS', APP_ROOT_PATH.'/css/bootstrap-responsive.min.css?rel=2.3.2');
# ***** Bootstrap-Bootbox: http://bootboxjs.com/ (GitHub: https://github.com/makeusabrew/bootbox/releases)
define('PATH_BOOTSTRAP_BOOTBOX_JS', APP_ROOT_PATH.'/js/jquery/plugins/bootstrap-bootbox/bootbox.min.js?rel=3.3.0');
# these are used in the automated tests.
define('TESTING_DB_SERVER', 'localhost'); // e.g. localhost
define('TESTING_DB_NAME', 'digitalfieldnotebookstest');
define('TESTING_DB_USER', 'digitalfieldnotebooksweb'); // this user (whatever you call it) should have only basic SELECT, INSERT, UPDATE, DELETE privileges
define('TESTING_DB_PASS', 'yourfancypassword');
# NOTE: it's VERY IMPORTANT to change the password (and possibly the username) for these as this user will always be authenticated!
define('TESTINGUSER','testinguser');
define('TESTINGPASSWORD','testinguserpassword');
# ---------------------------
# External Dependency: php.ini configuration file
# ---------------------------
# TimeZone Problem: the default php.ini setting may be incorrect; correct by explicitly setting this configuration to your region
# TimeZone Solution: (Line 1044 of php.ini: Module Settings/Date/date.timezone = America/New_York)
?>