PageRenderTime 25ms CodeModel.GetById 28ms RepoModel.GetById 1ms app.codeStats 0ms

/branch/2.0.2/system/application/config/config.php

http://records-authority.googlecode.com/
PHP | 370 lines | 39 code | 35 blank | 296 comment | 1 complexity | d581dc36c37d75347288344f97247de2 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Base Site URL
  5. |--------------------------------------------------------------------------
  6. |
  7. | URL to your CodeIgniter root. Typically this will be your base URL,
  8. | WITH a trailing slash:
  9. |
  10. | http://example.com/
  11. |
  12. */
  13. $config['base_url'] = "http://localhost/recordsAuthority/";
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Site Name
  17. |--------------------------------------------------------------------------
  18. |
  19. | Name of your CodeIgniter folder name. Typically this will be your base
  20. | folder you installed to
  21. |
  22. | http://example.com/
  23. |
  24. */
  25. $config['site_name'] = "recordsAuthority";
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Index File
  29. |--------------------------------------------------------------------------
  30. |
  31. | Typically this will be your index.php file, unless you've renamed it to
  32. | something else. If you are using mod_rewrite to remove the page set this
  33. | variable so that it is blank.
  34. |
  35. */
  36. $config['index_page'] = "index.php";
  37. /*
  38. |--------------------------------------------------------------------------
  39. | URI PROTOCOL
  40. |--------------------------------------------------------------------------
  41. |
  42. | This item determines which server global should be used to retrieve the
  43. | URI string. The default setting of "AUTO" works for most servers.
  44. | If your links do not seem to work, try one of the other delicious flavors:
  45. |
  46. | 'AUTO' Default - auto detects
  47. | 'PATH_INFO' Uses the PATH_INFO
  48. | 'QUERY_STRING' Uses the QUERY_STRING
  49. | 'REQUEST_URI' Uses the REQUEST_URI
  50. | 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
  51. |
  52. */
  53. $config['uri_protocol'] = "AUTO";
  54. /*
  55. |--------------------------------------------------------------------------
  56. | URL suffix
  57. |--------------------------------------------------------------------------
  58. |
  59. | This option allows you to add a suffix to all URLs generated by CodeIgniter.
  60. | For more information please see the user guide:
  61. |
  62. | http://codeigniter.com/user_guide/general/urls.html
  63. */
  64. $config['url_suffix'] = "";
  65. /*
  66. |--------------------------------------------------------------------------
  67. | Default Language
  68. |--------------------------------------------------------------------------
  69. |
  70. | This determines which set of language files should be used. Make sure
  71. | there is an available translation if you intend to use something other
  72. | than english.
  73. |
  74. */
  75. $config['language'] = "english";
  76. /*
  77. |--------------------------------------------------------------------------
  78. | Default Character Set
  79. |--------------------------------------------------------------------------
  80. |
  81. | This determines which character set is used by default in various methods
  82. | that require a character set to be provided.
  83. |
  84. */
  85. $config['charset'] = "UTF-8";
  86. /*
  87. |--------------------------------------------------------------------------
  88. | Enable/Disable System Hooks
  89. |--------------------------------------------------------------------------
  90. |
  91. | If you would like to use the "hooks" feature you must enable it by
  92. | setting this variable to TRUE (boolean). See the user guide for details.
  93. |
  94. */
  95. $config['enable_hooks'] = FALSE;
  96. /*
  97. |--------------------------------------------------------------------------
  98. | Class Extension Prefix
  99. |--------------------------------------------------------------------------
  100. |
  101. | This item allows you to set the filename/classname prefix when extending
  102. | native libraries. For more information please see the user guide:
  103. |
  104. | http://codeigniter.com/user_guide/general/core_classes.html
  105. | http://codeigniter.com/user_guide/general/creating_libraries.html
  106. |
  107. */
  108. $config['subclass_prefix'] = 'MY_';
  109. /*
  110. |--------------------------------------------------------------------------
  111. | Allowed URL Characters
  112. |--------------------------------------------------------------------------
  113. |
  114. | This lets you specify with a regular expression which characters are permitted
  115. | within your URLs. When someone tries to submit a URL with disallowed
  116. | characters they will get a warning message.
  117. |
  118. | As a security measure you are STRONGLY encouraged to restrict URLs to
  119. | as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
  120. |
  121. | Leave blank to allow all characters -- but only if you are insane.
  122. |
  123. | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
  124. |
  125. */
  126. $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
  127. /*
  128. |--------------------------------------------------------------------------
  129. | Enable Query Strings
  130. |--------------------------------------------------------------------------
  131. |
  132. | By default CodeIgniter uses search-engine friendly segment based URLs:
  133. | example.com/who/what/where/
  134. |
  135. | You can optionally enable standard query string based URLs:
  136. | example.com?who=me&what=something&where=here
  137. |
  138. | Options are: TRUE or FALSE (boolean)
  139. |
  140. | The other items let you set the query string "words" that will
  141. | invoke your controllers and its functions:
  142. | example.com/index.php?c=controller&m=function
  143. |
  144. | Please note that some of the helpers won't work as expected when
  145. | this feature is enabled, since CodeIgniter is designed primarily to
  146. | use segment based URLs.
  147. |
  148. */
  149. $config['enable_query_strings'] = FALSE;
  150. $config['directory_trigger'] = 'd'; // experimental not currently in use
  151. $config['controller_trigger'] = 'c';
  152. $config['function_trigger'] = 'm';
  153. /*
  154. |--------------------------------------------------------------------------
  155. | Error Logging Threshold
  156. |--------------------------------------------------------------------------
  157. |
  158. | If you have enabled error logging, you can set an error threshold to
  159. | determine what gets logged. Threshold options are:
  160. | You can enable error logging by setting a threshold over zero. The
  161. | threshold determines what gets logged. Threshold options are:
  162. |
  163. | 0 = Disables logging, Error logging TURNED OFF
  164. | 1 = Error Messages (including PHP errors)
  165. | 2 = Debug Messages
  166. | 3 = Informational Messages
  167. | 4 = All Messages
  168. |
  169. | For a live site you'll usually only enable Errors (1) to be logged otherwise
  170. | your log files will fill up very fast.
  171. |
  172. */
  173. $config['log_threshold'] = 0;
  174. /*
  175. |--------------------------------------------------------------------------
  176. | Error Logging Directory Path
  177. |--------------------------------------------------------------------------
  178. |
  179. | Leave this BLANK unless you would like to set something other than the default
  180. | system/logs/ folder. Use a full server path with trailing slash.
  181. |
  182. */
  183. $config['log_path'] = '';
  184. /*
  185. |--------------------------------------------------------------------------
  186. | Date Format for Logs
  187. |--------------------------------------------------------------------------
  188. |
  189. | Each item that is logged has an associated date. You can use PHP date
  190. | codes to set your own date formatting
  191. |
  192. */
  193. $config['log_date_format'] = 'Y-m-d H:i:s';
  194. /*
  195. |--------------------------------------------------------------------------
  196. | Cache Directory Path
  197. |--------------------------------------------------------------------------
  198. |
  199. | Leave this BLANK unless you would like to set something other than the default
  200. | system/cache/ folder. Use a full server path with trailing slash.
  201. |
  202. */
  203. $config['cache_path'] = '';
  204. /*
  205. |--------------------------------------------------------------------------
  206. | Encryption Key
  207. |--------------------------------------------------------------------------
  208. |
  209. | If you use the Encryption class or the Sessions class with encryption
  210. | enabled you MUST set an encryption key. See the user guide for info.
  211. |
  212. */
  213. $config['encryption_key'] = "R3c0rdM@n@g3m3ntL1@50n";
  214. /*
  215. |--------------------------------------------------------------------------
  216. | Session Variables
  217. |--------------------------------------------------------------------------
  218. |
  219. | 'session_cookie_name' = the name you want for the cookie
  220. | 'encrypt_sess_cookie' = TRUE/FALSE (boolean). Whether to encrypt the cookie
  221. | 'session_expiration' = the number of SECONDS you want the session to last.
  222. | by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
  223. | 'time_to_update' = how many seconds between CI refreshing Session Information
  224. |
  225. */
  226. $config['sess_cookie_name'] = 'rmsession';
  227. $config['sess_expiration'] = 0;
  228. $config['sess_encrypt_cookie'] = TRUE;
  229. $config['sess_use_database'] = TRUE;
  230. $config['sess_table_name'] = 'rm_sessions';
  231. $config['sess_match_ip'] = TRUE;
  232. $config['sess_match_useragent'] = TRUE;
  233. $config['sess_time_to_update'] = 300;
  234. /*
  235. |--------------------------------------------------------------------------
  236. | Cookie Related Variables
  237. |--------------------------------------------------------------------------
  238. |
  239. | 'cookie_prefix' = Set a prefix if you need to avoid collisions
  240. | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
  241. | 'cookie_path' = Typically will be a forward slash
  242. |
  243. */
  244. $config['cookie_prefix'] = "";
  245. $config['cookie_domain'] = "";
  246. $config['cookie_path'] = "/";
  247. /*
  248. |--------------------------------------------------------------------------
  249. | Global XSS Filtering
  250. |--------------------------------------------------------------------------
  251. |
  252. | Determines whether the XSS filter is always active when GET, POST or
  253. | COOKIE data is encountered
  254. |
  255. */
  256. $config['global_xss_filtering'] = TRUE;
  257. /*
  258. |--------------------------------------------------------------------------
  259. | Output Compression
  260. |--------------------------------------------------------------------------
  261. |
  262. | Enables Gzip output compression for faster page loads. When enabled,
  263. | the output class will test whether your server supports Gzip.
  264. | Even if it does, however, not all browsers support compression
  265. | so enable only if you are reasonably sure your visitors can handle it.
  266. |
  267. | VERY IMPORTANT: If you are getting a blank page when compression is enabled it
  268. | means you are prematurely outputting something to your browser. It could
  269. | even be a line of whitespace at the end of one of your scripts. For
  270. | compression to work, nothing can be sent before the output buffer is called
  271. | by the output class. Do not "echo" any values with compression enabled.
  272. |
  273. */
  274. $config['compress_output'] = FALSE;
  275. /*
  276. |--------------------------------------------------------------------------
  277. | Master Time Reference
  278. |--------------------------------------------------------------------------
  279. |
  280. | Options are "local" or "gmt". This pref tells the system whether to use
  281. | your server's local time as the master "now" reference, or convert it to
  282. | GMT. See the "date helper" page of the user guide for information
  283. | regarding date handling.
  284. |
  285. */
  286. $config['time_reference'] = 'local';
  287. /*
  288. |--------------------------------------------------------------------------
  289. | Rewrite PHP Short Tags
  290. |--------------------------------------------------------------------------
  291. |
  292. | If your PHP installation does not have short tag support enabled CI
  293. | can rewrite the tags on-the-fly, enabling you to utilize that syntax
  294. | in your view files. Options are TRUE or FALSE (boolean)
  295. |
  296. */
  297. $config['rewrite_short_tags'] = FALSE;
  298. /*
  299. |--------------------------------------------------------------------------
  300. | Upload Path (custom - not part of original framework)
  301. |--------------------------------------------------------------------------
  302. |
  303. | sets upload directory
  304. |
  305. */
  306. $config['uploadDirectory'] = '../surveyFileUploads/';
  307. /*
  308. |--------------------------------------------------------------------------
  309. | Dev Email (custom - not part of original framework)
  310. |--------------------------------------------------------------------------
  311. |
  312. | sets development email
  313. |
  314. */
  315. $config['devEmail'] = 'records@du.edu';
  316. /*
  317. |--------------------------------------------------------------------------
  318. | Prod Email (custom - not part of original framework)
  319. |--------------------------------------------------------------------------
  320. |
  321. | sets production email
  322. |
  323. */
  324. $config['prodEmail'] = 'records@du.edu';
  325. /*
  326. |--------------------------------------------------------------------------
  327. | Solr (custom - not part of original framework)
  328. |--------------------------------------------------------------------------
  329. |
  330. | sets solr url
  331. |
  332. */
  333. $config['solr'] = 'http://localhost:8080/solr';
  334. /* End of file config.php */
  335. /* Location: ./system/application/config/config.php */