/application/config/config.php

https://bitbucket.org/inflex13/inkedgirls · PHP · 396 lines · 44 code · 31 blank · 321 comment · 1 complexity · 19844ca7c42f2fad64dcc75972223419 MD5 · raw file

  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. /**
  3. * CodeIgniter
  4. *
  5. * An open source application development framework for PHP 5.1.6 or newer
  6. *
  7. * NOTICE OF LICENSE
  8. *
  9. * Licensed under the Academic Free License version 3.0
  10. *
  11. * This source file is subject to the Academic Free License (AFL 3.0) that is
  12. * bundled with this package in the files license_afl.txt / license_afl.rst.
  13. * It is also available through the world wide web at this URL:
  14. * http://opensource.org/licenses/AFL-3.0
  15. * If you did not receive a copy of the license and are unable to obtain it
  16. * through the world wide web, please send an email to
  17. * licensing@ellislab.com so we can send you a copy immediately.
  18. *
  19. * @package CodeIgniter
  20. * @author EllisLab Dev Team
  21. * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. (http://ellislab.com/)
  22. * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
  23. * @link http://codeigniter.com
  24. * @since Version 1.0
  25. * @filesource
  26. */
  27. /*
  28. |--------------------------------------------------------------------------
  29. | Base Site URL
  30. |--------------------------------------------------------------------------
  31. |
  32. | URL to your CodeIgniter root. Typically this will be your base URL,
  33. | WITH a trailing slash:
  34. |
  35. | http://example.com/
  36. |
  37. | If this is not set then CodeIgniter will guess the protocol, domain and
  38. | path to your installation.
  39. |
  40. */
  41. $config['base_url'] = 'http://www.inkedgirls.net';
  42. $config['static_url'] = 'http://www.inkedgirls.net';
  43. /*
  44. |--------------------------------------------------------------------------
  45. | Index File
  46. |--------------------------------------------------------------------------
  47. |
  48. | Typically this will be your index.php file, unless you've renamed it to
  49. | something else. If you are using mod_rewrite to remove the page set this
  50. | variable so that it is blank.
  51. |
  52. */
  53. $config['index_page'] = '';
  54. /*
  55. |--------------------------------------------------------------------------
  56. | URI PROTOCOL
  57. |--------------------------------------------------------------------------
  58. |
  59. | This item determines which server global should be used to retrieve the
  60. | URI string. The default setting of 'AUTO' works for most servers.
  61. | If your links do not seem to work, try one of the other delicious flavors:
  62. |
  63. | 'AUTO' Default - auto detects
  64. | 'PATH_INFO' Uses the PATH_INFO
  65. | 'QUERY_STRING' Uses the QUERY_STRING
  66. | 'REQUEST_URI' Uses the REQUEST_URI
  67. | 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
  68. |
  69. */
  70. $config['uri_protocol'] = 'AUTO';
  71. /*
  72. |--------------------------------------------------------------------------
  73. | URL suffix
  74. |--------------------------------------------------------------------------
  75. |
  76. | This option allows you to add a suffix to all URLs generated by CodeIgniter.
  77. | For more information please see the user guide:
  78. |
  79. | http://codeigniter.com/user_guide/general/urls.html
  80. */
  81. $config['url_suffix'] = '/';
  82. /*
  83. |--------------------------------------------------------------------------
  84. | Default Language
  85. |--------------------------------------------------------------------------
  86. |
  87. | This determines which set of language files should be used. Make sure
  88. | there is an available translation if you intend to use something other
  89. | than english.
  90. |
  91. */
  92. $config['language'] = 'english';
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Default Character Set
  96. |--------------------------------------------------------------------------
  97. |
  98. | This determines which character set is used by default in various methods
  99. | that require a character set to be provided.
  100. |
  101. | See http://php.net/htmlspecialchars for a list of supported charsets.
  102. |
  103. */
  104. $config['charset'] = 'UTF-8';
  105. /*
  106. |--------------------------------------------------------------------------
  107. | Enable/Disable System Hooks
  108. |--------------------------------------------------------------------------
  109. |
  110. | If you would like to use the 'hooks' feature you must enable it by
  111. | setting this variable to TRUE (boolean). See the user guide for details.
  112. |
  113. */
  114. $config['enable_hooks'] = FALSE;
  115. /*
  116. |--------------------------------------------------------------------------
  117. | Class Extension Prefix
  118. |--------------------------------------------------------------------------
  119. |
  120. | This item allows you to set the filename/classname prefix when extending
  121. | native libraries. For more information please see the user guide:
  122. |
  123. | http://codeigniter.com/user_guide/general/core_classes.html
  124. | http://codeigniter.com/user_guide/general/creating_libraries.html
  125. |
  126. */
  127. $config['subclass_prefix'] = 'MY_';
  128. /*
  129. |--------------------------------------------------------------------------
  130. | Allowed URL Characters
  131. |--------------------------------------------------------------------------
  132. |
  133. | This lets you specify with a regular expression which characters are permitted
  134. | within your URLs. When someone tries to submit a URL with disallowed
  135. | characters they will get a warning message.
  136. |
  137. | As a security measure you are STRONGLY encouraged to restrict URLs to
  138. | as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
  139. |
  140. | Leave blank to allow all characters -- but only if you are insane.
  141. |
  142. | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
  143. |
  144. */
  145. $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
  146. /*
  147. |--------------------------------------------------------------------------
  148. | Enable Query Strings
  149. |--------------------------------------------------------------------------
  150. |
  151. | By default CodeIgniter uses search-engine friendly segment based URLs:
  152. | example.com/who/what/where/
  153. |
  154. | By default CodeIgniter enables access to the $_GET array. If for some
  155. | reason you would like to disable it, set 'allow_get_array' to FALSE.
  156. |
  157. | You can optionally enable standard query string based URLs:
  158. | example.com?who=me&what=something&where=here
  159. |
  160. | Options are: TRUE or FALSE (boolean)
  161. |
  162. | The other items let you set the query string 'words' that will
  163. | invoke your controllers and its functions:
  164. | example.com/index.php?c=controller&m=function
  165. |
  166. | Please note that some of the helpers won't work as expected when
  167. | this feature is enabled, since CodeIgniter is designed primarily to
  168. | use segment based URLs.
  169. |
  170. */
  171. $config['allow_get_array'] = TRUE;
  172. $config['enable_query_strings'] = FALSE;
  173. $config['controller_trigger'] = 'c';
  174. $config['function_trigger'] = 'm';
  175. $config['directory_trigger'] = 'd'; // experimental not currently in use
  176. /*
  177. |--------------------------------------------------------------------------
  178. | Error Logging Threshold
  179. |--------------------------------------------------------------------------
  180. |
  181. | If you have enabled error logging, you can set an error threshold to
  182. | determine what gets logged. Threshold options are:
  183. | You can enable error logging by setting a threshold over zero. The
  184. | threshold determines what gets logged. Threshold options are:
  185. |
  186. | 0 = Disables logging, Error logging TURNED OFF
  187. | 1 = Error Messages (including PHP errors)
  188. | 2 = Debug Messages
  189. | 3 = Informational Messages
  190. | 4 = All Messages
  191. |
  192. | You can also pass in a array with threshold levels to show individual error types
  193. |
  194. | array(2) = Debug Messages, without Error Messages
  195. |
  196. | For a live site you'll usually only enable Errors (1) to be logged otherwise
  197. | your log files will fill up very fast.
  198. |
  199. */
  200. $config['log_threshold'] = 0;
  201. /*
  202. |--------------------------------------------------------------------------
  203. | Error Logging Directory Path
  204. |--------------------------------------------------------------------------
  205. |
  206. | Leave this BLANK unless you would like to set something other than the default
  207. | application/logs/ folder. Use a full server path with trailing slash.
  208. |
  209. */
  210. $config['log_path'] = '';
  211. /*
  212. |--------------------------------------------------------------------------
  213. | Date Format for Logs
  214. |--------------------------------------------------------------------------
  215. |
  216. | Each item that is logged has an associated date. You can use PHP date
  217. | codes to set your own date formatting
  218. |
  219. */
  220. $config['log_date_format'] = 'Y-m-d H:i:s';
  221. /*
  222. |--------------------------------------------------------------------------
  223. | Cache Directory Path
  224. |--------------------------------------------------------------------------
  225. |
  226. | Leave this BLANK unless you would like to set something other than the default
  227. | system/cache/ folder. Use a full server path with trailing slash.
  228. |
  229. */
  230. $config['cache_path'] = '';
  231. /*
  232. |--------------------------------------------------------------------------
  233. | Encryption Key
  234. |--------------------------------------------------------------------------
  235. |
  236. | If you use the Encryption class or the Session class you
  237. | MUST set an encryption key. See the user guide for info.
  238. |
  239. */
  240. $config['encryption_key'] = 'tomorrow never die fools';
  241. /*
  242. |--------------------------------------------------------------------------
  243. | Session Variables
  244. |--------------------------------------------------------------------------
  245. |
  246. | 'sess_cookie_name' = the name you want for the cookie
  247. | 'sess_expiration' = the number of SECONDS you want the session to last.
  248. | by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
  249. | 'sess_expire_on_close' = Whether to cause the session to expire automatically
  250. | when the browser window is closed
  251. | 'sess_encrypt_cookie' = Whether to encrypt the cookie
  252. | 'sess_use_database' = Whether to save the session data to a database
  253. | 'sess_table_name' = The name of the session database table
  254. | 'sess_match_ip' = Whether to match the user's IP address when reading the session data
  255. | 'sess_match_useragent' = Whether to match the User Agent when reading the session data
  256. | 'sess_time_to_update' = how many seconds between CI refreshing Session Information
  257. |
  258. */
  259. $config['sess_cookie_name'] = 'ci_session';
  260. $config['sess_expiration'] = 7200;
  261. $config['sess_expire_on_close'] = FALSE;
  262. $config['sess_encrypt_cookie'] = FALSE;
  263. $config['sess_use_database'] = FALSE;
  264. $config['sess_table_name'] = 'ci_sessions';
  265. $config['sess_match_ip'] = FALSE;
  266. $config['sess_match_useragent'] = TRUE;
  267. $config['sess_time_to_update'] = 300;
  268. /*
  269. |--------------------------------------------------------------------------
  270. | Cookie Related Variables
  271. |--------------------------------------------------------------------------
  272. |
  273. | 'cookie_prefix' = Set a prefix if you need to avoid collisions
  274. | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
  275. | 'cookie_path' = Typically will be a forward slash
  276. | 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
  277. |
  278. */
  279. $config['cookie_prefix'] = "";
  280. $config['cookie_domain'] = ".inkedgirls.net";
  281. $config['cookie_path'] = "/";
  282. $config['cookie_secure'] = FALSE;
  283. /*
  284. |--------------------------------------------------------------------------
  285. | Global XSS Filtering
  286. |--------------------------------------------------------------------------
  287. |
  288. | Determines whether the XSS filter is always active when GET, POST or
  289. | COOKIE data is encountered
  290. |
  291. */
  292. $config['global_xss_filtering'] = FALSE;
  293. /*
  294. |--------------------------------------------------------------------------
  295. | Cross Site Request Forgery
  296. |--------------------------------------------------------------------------
  297. | Enables a CSRF cookie token to be set. When set to TRUE, token will be
  298. | checked on a submitted form. If you are accepting user data, it is strongly
  299. | recommended CSRF protection be enabled.
  300. |
  301. | 'csrf_token_name' = The token name
  302. | 'csrf_cookie_name' = The cookie name
  303. | 'csrf_expire' = The number in seconds the token should expire.
  304. | 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
  305. */
  306. $config['csrf_protection'] = FALSE;
  307. $config['csrf_token_name'] = 'csrf_test_name';
  308. $config['csrf_cookie_name'] = 'csrf_cookie_name';
  309. $config['csrf_expire'] = 7200;
  310. $config['csrf_exclude_uris'] = array();
  311. /*
  312. |--------------------------------------------------------------------------
  313. | Output Compression
  314. |--------------------------------------------------------------------------
  315. |
  316. | Enables Gzip output compression for faster page loads. When enabled,
  317. | the output class will test whether your server supports Gzip.
  318. | Even if it does, however, not all browsers support compression
  319. | so enable only if you are reasonably sure your visitors can handle it.
  320. |
  321. | VERY IMPORTANT: If you are getting a blank page when compression is enabled it
  322. | means you are prematurely outputting something to your browser. It could
  323. | even be a line of whitespace at the end of one of your scripts. For
  324. | compression to work, nothing can be sent before the output buffer is called
  325. | by the output class. Do not 'echo' any values with compression enabled.
  326. |
  327. */
  328. $config['compress_output'] = TRUE;
  329. /*
  330. |--------------------------------------------------------------------------
  331. | Master Time Reference
  332. |--------------------------------------------------------------------------
  333. |
  334. | Options are 'local' or 'gmt'. This pref tells the system whether to use
  335. | your server's local time as the master 'now' reference, or convert it to
  336. | GMT. See the 'date helper' page of the user guide for information
  337. | regarding date handling.
  338. |
  339. */
  340. $config['time_reference'] = 'local';
  341. /*
  342. |--------------------------------------------------------------------------
  343. | Rewrite PHP Short Tags
  344. |--------------------------------------------------------------------------
  345. |
  346. | If your PHP installation does not have short tag support enabled CI
  347. | can rewrite the tags on-the-fly, enabling you to utilize that syntax
  348. | in your view files. Options are TRUE or FALSE (boolean)
  349. |
  350. */
  351. $config['rewrite_short_tags'] = FALSE;
  352. /*
  353. |--------------------------------------------------------------------------
  354. | Reverse Proxy IPs
  355. |--------------------------------------------------------------------------
  356. |
  357. | If your server is behind a reverse proxy, you must whitelist the proxy IP
  358. | addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
  359. | header in order to properly identify the visitor's IP address.
  360. | Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
  361. |
  362. */
  363. $config['proxy_ips'] = '';
  364. /* End of file config.php */
  365. /* Location: ./application/config/config.php */