Skip to content
This repository
tree: c62b499534
Fetching contributors…

Cannot retrieve contributors at this time

file 173 lines (140 sloc) 7.044 kb
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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
<?php
/**
* This file setups the following:
*
* - settings used globally throughout the applications included within reason_package
* - paths used globally throughout the applications included within reason_package
* - file system location of binaries that the reason_package requires
* - the include path and http_path of applications included within reason_package
*
* This file should never be included directly, but instead gets included through one of two reason package bootstrap files:
*
* paths.php - for carl_util functionality when the full reason environment is not needed
* reason_header.php - for access to both carl_util and reason libraries
*
* @require INCLUDE_PATH must have been defined in paths.php
* @require SETTINGS_INC must have been defined in paths.php
*
* @package carl_util
*/
 
/////////////////////////////////////////////////////////////////////////////////////////////////////
// The following constants should be customized for your installation of the reason_package
/////////////////////////////////////////////////////////////////////////////////////////////////////

// Basic information about the organization
domain_define( 'FULL_ORGANIZATION_NAME','The Full Name of the Organization' );
domain_define( 'SHORT_ORGANIZATION_NAME', 'Short Org Name' );
domain_define( 'ORGANIZATION_HOME_PAGE_URI', 'http://www.domain_name.domain' );
domain_define( 'WEBMASTER_EMAIL_ADDRESS', 'webmaster@domain_name.domain' );
domain_define( 'WEBMASTER_NAME', 'Joanne Q. Webmaster' );

/////////////////////////////////////////////////////////////////////////////////////////////////////
// The following constants can be left alone, provided reason_package is OUTSIDE the web tree
/////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* The location of the database credentials file
*
* SECURITY ALERT: this file MUST be outside of the web tree - otherwise your database credentials are accessible to everyone
*/
domain_define( 'DB_CREDENTIALS_FILEPATH', SETTINGS_INC. 'dbs.xml' );

/**
* The locations of the http credentials file - this need not be defined unless you have web resources behind https authentication
*
* SECURITY ALERT: this file MUST be outside of the web tree - otherwise your database credentials are accessible to everyone
*/
domain_define( 'HTTP_CREDENTIALS_FILEPATH', '' );

/////////////////////////////////////////////////////////////////////////////////////////////////////
// The following should be reviewed to make sure they are appropriate to your environment
/////////////////////////////////////////////////////////////////////////////////////////////////////

/**
* HTTPS_AVAILABLE
* Boolean; lets the package know if the domain is configured to serve up pages under https or not
*/
domain_define( 'HTTPS_AVAILABLE', false );

/**
* The file system directory that contains imagemagick binaries (such as mogrify)
*/
domain_define ('IMAGEMAGICK_PATH', '/usr/bin/');

/**
* The command line path used to invoke tidy (eg. /usr/bin/tidy) - optional if libtidy is part of the php install
*/
domain_define ('TIDY_EXE', '/usr/bin/tidy');

/**
* The command line path used to invoke curl (eg. /usr/bin/curl) - optional if libcurl is part of the php install
*/
domain_define ('CURL_PATH', '/usr/bin/curl');

///////////////////////////////////////////////////////////////////////////////////////////////////////
// You shouldn't have to alter any of the constants below in a default install for reason to function
///////////////////////////////////////////////////////////////////////////////////////////////////////

/**
* The absolute file system directory that is the default web root - should include a trailing slash
*/
domain_define( 'WEB_PATH', rtrim($_SERVER['DOCUMENT_ROOT'], "/") . '/' );

/**
* REASON_PACKAGE_HTTP_BASE_PATH
* This setting identifies the location of the reason_package web-available directory from the web root
* This path should be an alias to the reason_package www folder, which should be
* located outside the web root.
*
* The location of the reason_package www folder is /reason_package/www/
*/
domain_define( 'REASON_PACKAGE_HTTP_BASE_PATH','/reason_package/');

/**
* An optional path to a CSS file that may be used by various reason_package utilities
*/
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


/**
* The host name, (eg www.mysite.com)
*/
domain_define( 'HTTP_HOST_NAME', $_SERVER['HTTP_HOST'] );

/**
* Make sure that your locale settings use UTF-8.
*
* If your server is not set to use utf-8, and you cannot change it at the server level, uncomment
* the line below and use your appropriate language/country information
*/
//setlocale(LC_ALL, 'en_US.UTF-8');

// Define the name of the function which performs html sanitization
// this should be a specialized settings file probably - only relevant if the cleanup libraries are loaded
define('HTML_SANITIZATION_FUNCTION','get_safer_html_html_purifier');

// Define the path to the folder that contains Reason's lib and www folder
define('REASON_INC',INCLUDE_PATH.'reason_4.0/');

// Define the path to carl_util files
define('CARL_UTIL_INC',INCLUDE_PATH.'carl_util/');

// Define the path to disco files
define('DISCO_INC',INCLUDE_PATH.'disco/');

// Define the path to flvplayer files
define('FLVPLAYER_INC',INCLUDE_PATH.'flvplayer/');
define('FLVPLAYER_HTTP_PATH','/flvplayer/');

// Define the path to loki 1 files
define('LOKI_INC',INCLUDE_PATH.'loki_1.0/');
define('LOKI_HTTP_PATH','/loki_1.0/');

// Define the path to loki 2 files
define('LOKI_2_INC',INCLUDE_PATH.'loki_2.0/helpers/php/');
define('LOKI_2_HTTP_PATH','/loki_2.0/');

// Define the path to tinymce files
define('TINYMCE_HTTP_PATH','/reason_package/tiny_mce/');

// Define the path to Date Picker files
define('DATE_PICKER_INC', INCLUDE_PATH.'date_picker/');
define('DATE_PICKER_HTTP_PATH', '/date_picker/');

// Define the path to Magpie RSS files
define('MAGPIERSS_INC',INCLUDE_PATH.'magpierss/');

// Define the path to Thor files
define('THOR_INC',INCLUDE_PATH.'thor/');
define('THOR_HTTP_PATH','/thor/');

// Define the path to Tyr files
define('TYR_INC',INCLUDE_PATH.'tyr/');

// Define the path to ADOdb libraries
define('ADODB_INC',INCLUDE_PATH.'adodb/');
define('ADODB_DATE_INC',ADODB_INC.'adodb-time.inc.php');

// Define the path to XML Parser files
define('XML_PARSER_INC',INCLUDE_PATH.'xml/');

// Define the path to HTML Purifier
define('HTML_PURIFIER_INC',INCLUDE_PATH.'htmlpurifier/');

// Define the path to libcurlemu
define('LIBCURLEMU_INC',INCLUDE_PATH.'libcurlemu-1.0.4/');

// Define the path to jquery
define('JQUERY_INC',INCLUDE_PATH.'jquery/');
define('JQUERY_HTTP_PATH','/jquery/');
define('JQUERY_URL',JQUERY_HTTP_PATH.'jquery_latest.js');
define('JQUERY_UI_URL',JQUERY_HTTP_PATH.'jquery_ui_latest.js');
define('JQUERY_UI_CSS_URL',JQUERY_HTTP_PATH.'css/smoothness/jquery-ui.css');
?>
Something went wrong with that request. Please try again.