Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 174 lines (140 sloc) 7.044 kb
4996f2b
Matt Bockol authored
1 <?php
2 /**
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
3 * This file setups the following:
4 *
5 * - settings used globally throughout the applications included within reason_package
6 * - paths used globally throughout the applications included within reason_package
7 * - file system location of binaries that the reason_package requires
8 * - the include path and http_path of applications included within reason_package
9 *
10 * This file should never be included directly, but instead gets included through one of two reason package bootstrap files:
11 *
12 * paths.php - for carl_util functionality when the full reason environment is not needed
13 * reason_header.php - for access to both carl_util and reason libraries
14 *
15 * @require INCLUDE_PATH must have been defined in paths.php
16 * @require SETTINGS_INC must have been defined in paths.php
6cfa5bc @natepixel added package carl_util for php documentor
natepixel authored
17 *
18 * @package carl_util
4996f2b
Matt Bockol authored
19 */
20
21 /////////////////////////////////////////////////////////////////////////////////////////////////////
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
22 // The following constants should be customized for your installation of the reason_package
4996f2b
Matt Bockol authored
23 /////////////////////////////////////////////////////////////////////////////////////////////////////
24
25 // Basic information about the organization
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
26 domain_define( 'FULL_ORGANIZATION_NAME','The Full Name of the Organization' );
27 domain_define( 'SHORT_ORGANIZATION_NAME', 'Short Org Name' );
28 domain_define( 'ORGANIZATION_HOME_PAGE_URI', 'http://www.domain_name.domain' );
29 domain_define( 'WEBMASTER_EMAIL_ADDRESS', 'webmaster@domain_name.domain' );
30 domain_define( 'WEBMASTER_NAME', 'Joanne Q. Webmaster' );
4996f2b
Matt Bockol authored
31
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
32 /////////////////////////////////////////////////////////////////////////////////////////////////////
33 // The following constants can be left alone, provided reason_package is OUTSIDE the web tree
34 /////////////////////////////////////////////////////////////////////////////////////////////////////
35 /**
36 * The location of the database credentials file
37 *
38 * SECURITY ALERT: this file MUST be outside of the web tree - otherwise your database credentials are accessible to everyone
39 */
40 domain_define( 'DB_CREDENTIALS_FILEPATH', SETTINGS_INC. 'dbs.xml' );
4996f2b
Matt Bockol authored
41
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
42 /**
43 * The locations of the http credentials file - this need not be defined unless you have web resources behind https authentication
44 *
45 * SECURITY ALERT: this file MUST be outside of the web tree - otherwise your database credentials are accessible to everyone
46 */
47 domain_define( 'HTTP_CREDENTIALS_FILEPATH', '' );
4996f2b
Matt Bockol authored
48
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
49 /////////////////////////////////////////////////////////////////////////////////////////////////////
50 // The following should be reviewed to make sure they are appropriate to your environment
51 /////////////////////////////////////////////////////////////////////////////////////////////////////
4996f2b
Matt Bockol authored
52
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
53 /**
54 * HTTPS_AVAILABLE
55 * Boolean; lets the package know if the domain is configured to serve up pages under https or not
56 */
57 domain_define( 'HTTPS_AVAILABLE', false );
4996f2b
Matt Bockol authored
58
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
59 /**
60 * The file system directory that contains imagemagick binaries (such as mogrify)
61 */
62 domain_define ('IMAGEMAGICK_PATH', '/usr/bin/');
4996f2b
Matt Bockol authored
63
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
64 /**
65 * The command line path used to invoke tidy (eg. /usr/bin/tidy) - optional if libtidy is part of the php install
66 */
090ca8e @natepixel putting tidy_exe and curl_path values in since they are only used if …
natepixel authored
67 domain_define ('TIDY_EXE', '/usr/bin/tidy');
cec1a28 @natepixel added settings CURL_PATH, XML_PARSER_DIRNAME, XML_PARSER_INC, HTML_PU…
natepixel authored
68
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
69 /**
70 * The command line path used to invoke curl (eg. /usr/bin/curl) - optional if libcurl is part of the php install
71 */
090ca8e @natepixel putting tidy_exe and curl_path values in since they are only used if …
natepixel authored
72 domain_define ('CURL_PATH', '/usr/bin/curl');
4996f2b
Matt Bockol authored
73
74 ///////////////////////////////////////////////////////////////////////////////////////////////////////
75 // You shouldn't have to alter any of the constants below in a default install for reason to function
76 ///////////////////////////////////////////////////////////////////////////////////////////////////////
77
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
78 /**
9ede885 @natepixel make sure that default web_path setting has a trailing slash
natepixel authored
79 * The absolute file system directory that is the default web root - should include a trailing slash
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
80 */
9029f16 @natepixel modified to setup default WEB_PATH correctly whether or not the docum…
natepixel authored
81 domain_define( 'WEB_PATH', rtrim($_SERVER['DOCUMENT_ROOT'], "/") . '/' );
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
82
83 /**
ea0de69 @natepixel added REASON_PACKAGE_HTTP_BASE_PATH
natepixel authored
84 * REASON_PACKAGE_HTTP_BASE_PATH
85 * This setting identifies the location of the reason_package web-available directory from the web root
86 * This path should be an alias to the reason_package www folder, which should be
87 * located outside the web root.
88 *
89 * The location of the reason_package www folder is /reason_package/www/
90 */
91 domain_define( 'REASON_PACKAGE_HTTP_BASE_PATH','/reason_package/');
92
93 /**
ba4bd3b @mryand Added a UNIVERSAL_CSS_PATH css file to ensure that the administrative…
mryand authored
94 * An optional path to a CSS file that may be used by various reason_package utilities
95 */
96 domain_define( 'UNIVERSAL_CSS_PATH', REASON_PACKAGE_HTTP_BASE_PATH.'css/universal.css'); // Define the path to a CSS file used by various reason_package utilities
97
98
99 /**
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
100 * The host name, (eg www.mysite.com)
101 */
102 domain_define( 'HTTP_HOST_NAME', $_SERVER['HTTP_HOST'] );
4996f2b
Matt Bockol authored
103
46702bb @mryand added setlocale info
mryand authored
104 /**
105 * Make sure that your locale settings use UTF-8.
106 *
107 * If your server is not set to use utf-8, and you cannot change it at the server level, uncomment
108 * the line below and use your appropriate language/country information
109 */
110 //setlocale(LC_ALL, 'en_US.UTF-8');
111
70c9c5b @natepixel added HTML_SANITIZATION_FUNCTION setting
natepixel authored
112 // Define the name of the function which performs html sanitization
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
113 // this should be a specialized settings file probably - only relevant if the cleanup libraries are loaded
70c9c5b @natepixel added HTML_SANITIZATION_FUNCTION setting
natepixel authored
114 define('HTML_SANITIZATION_FUNCTION','get_safer_html_html_purifier');
115
9ede885 @natepixel make sure that default web_path setting has a trailing slash
natepixel authored
116 // Define the path to the folder that contains Reason's lib and www folder
4996f2b
Matt Bockol authored
117 define('REASON_INC',INCLUDE_PATH.'reason_4.0/');
118
119 // Define the path to carl_util files
120 define('CARL_UTIL_INC',INCLUDE_PATH.'carl_util/');
121
122 // Define the path to disco files
123 define('DISCO_INC',INCLUDE_PATH.'disco/');
124
125 // Define the path to flvplayer files
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
126 define('FLVPLAYER_INC',INCLUDE_PATH.'flvplayer/');
090ca8e @natepixel putting tidy_exe and curl_path values in since they are only used if …
natepixel authored
127 define('FLVPLAYER_HTTP_PATH','/flvplayer/');
4996f2b
Matt Bockol authored
128
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
129 // Define the path to loki 1 files
130 define('LOKI_INC',INCLUDE_PATH.'loki_1.0/');
131 define('LOKI_HTTP_PATH','/loki_1.0/');
4996f2b
Matt Bockol authored
132
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
133 // Define the path to loki 2 files
134 define('LOKI_2_INC',INCLUDE_PATH.'loki_2.0/helpers/php/');
135 define('LOKI_2_HTTP_PATH','/loki_2.0/');
4996f2b
Matt Bockol authored
136
137 // Define the path to tinymce files
8c6a830 @natepixel changed TINYMCE_HTTP_PATH to /reason_package/tiny_mce/ to correspond …
natepixel authored
138 define('TINYMCE_HTTP_PATH','/reason_package/tiny_mce/');
4996f2b
Matt Bockol authored
139
22d056a @natepixel added DATE_PICKER_HTTP_PATH
natepixel authored
140 // Define the path to Date Picker files
b2711cd @natepixel added DATE_PICKER_INC - needed for setup.php and to be parallel with …
natepixel authored
141 define('DATE_PICKER_INC', INCLUDE_PATH.'date_picker/');
22d056a @natepixel added DATE_PICKER_HTTP_PATH
natepixel authored
142 define('DATE_PICKER_HTTP_PATH', '/date_picker/');
143
4996f2b
Matt Bockol authored
144 // Define the path to Magpie RSS files
145 define('MAGPIERSS_INC',INCLUDE_PATH.'magpierss/');
146
147 // Define the path to Thor files
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
148 define('THOR_INC',INCLUDE_PATH.'thor/');
4996f2b
Matt Bockol authored
149 define('THOR_HTTP_PATH','/thor/');
150
151 // Define the path to Tyr files
152 define('TYR_INC',INCLUDE_PATH.'tyr/');
153
154 // Define the path to ADOdb libraries
155 define('ADODB_INC',INCLUDE_PATH.'adodb/');
156 define('ADODB_DATE_INC',ADODB_INC.'adodb-time.inc.php');
cec1a28 @natepixel added settings CURL_PATH, XML_PARSER_DIRNAME, XML_PARSER_INC, HTML_PU…
natepixel authored
157
158 // Define the path to XML Parser files
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
159 define('XML_PARSER_INC',INCLUDE_PATH.'xml/');
cec1a28 @natepixel added settings CURL_PATH, XML_PARSER_DIRNAME, XML_PARSER_INC, HTML_PU…
natepixel authored
160
161 // Define the path to HTML Purifier
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
162 define('HTML_PURIFIER_INC',INCLUDE_PATH.'htmlpurifier/');
cec1a28 @natepixel added settings CURL_PATH, XML_PARSER_DIRNAME, XML_PARSER_INC, HTML_PU…
natepixel authored
163
164 // Define the path to libcurlemu
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
165 define('LIBCURLEMU_INC',INCLUDE_PATH.'libcurlemu-1.0.4/');
5383dab @mryand added jquery settings
mryand authored
166
167 // Define the path to jquery
6e0a1bc @natepixel updated basic package settings file with domain_define statements for…
natepixel authored
168 define('JQUERY_INC',INCLUDE_PATH.'jquery/');
169 define('JQUERY_HTTP_PATH','/jquery/');
5383dab @mryand added jquery settings
mryand authored
170 define('JQUERY_URL',JQUERY_HTTP_PATH.'jquery_latest.js');
645ccd3 @natepixel added JQUERY_UI_URL and JQUERY_UI_CSS_URL
natepixel authored
171 define('JQUERY_UI_URL',JQUERY_HTTP_PATH.'jquery_ui_latest.js');
172 define('JQUERY_UI_CSS_URL',JQUERY_HTTP_PATH.'css/smoothness/jquery-ui.css');
6cfa5bc @natepixel added package carl_util for php documentor
natepixel authored
173 ?>
Something went wrong with that request. Please try again.