Produced by Araxis Merge on 8/16/2019 12:02:04 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Direct_DSM.zip\Direct_DSM\webmail\application\config | config.php | Tue Aug 13 17:30:06 2019 UTC |
| 2 | Direct_DSM.zip\Direct_DSM\webmail\application\config | config.php | Wed Aug 14 12:39:50 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 884 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <?php if ( ! define d('BASEPAT H')) exit( 'No direct script ac cess allow ed'); | |
| 2 | ||
| 3 | /** | |
| 4 | * @package direct-pr oject-inno vation-ini tiative | |
| 5 | * @subpack age config | |
| 6 | *//** */ | |
| 7 | ||
| 8 | /** | |
| 9 | * Base Sit e URL | |
| 10 | * | |
| 11 | * URL to y our CodeIg niter root . Typicall y this wil l be your base URL, | |
| 12 | * WITH a t railing sl ash: | |
| 13 | * | |
| 14 | * ht tp://examp le.com/ | |
| 15 | * | |
| 16 | * If this is not set then Code Igniter wi ll guess t he protoco l, domain and | |
| 17 | * path to your insta llation. | |
| 18 | * | |
| 19 | * @global string $co nfig['base _url'] | |
| 20 | */ | |
| 21 | $config['b ase_url'] = 'https:/ /'.CLINICA L_DOMAIN.' /'; | |
| 22 | ||
| 23 | /** | |
| 24 | * Index Fi le | |
| 25 | * | |
| 26 | * Typicall y this wil l be your index.php file, unle ss you've renamed it to | |
| 27 | * somethin g else. If you are u sing mod_r ewrite to remove the page set this | |
| 28 | * variable so that i t is blank . | |
| 29 | * | |
| 30 | * @global string $co nfig['inde x_page'] | |
| 31 | */ | |
| 32 | $config['i ndex_page' ] = ''; | |
| 33 | ||
| 34 | /** | |
| 35 | * URI PROT OCOL | |
| 36 | * | |
| 37 | * This ite m determin es which s erver glob al should be used to retrieve the | |
| 38 | * URI stri ng. The d efault set ting of 'A UTO' works for most servers. | |
| 39 | * If your links do n ot seem to work, try one of th e other de licious fl avors: | |
| 40 | * | |
| 41 | * 'AUTO' Default - auto det ects | |
| 42 | * 'PATH_IN FO' Uses t he PATH_IN FO | |
| 43 | * 'QUERY_S TRING' Uses t he QUERY_S TRING | |
| 44 | * 'REQUEST _URI' Uses t he REQUEST _URI | |
| 45 | * 'ORIG_PA TH_INFO' Uses t he ORIG_PA TH_INFO | |
| 46 | * | |
| 47 | * @global string $co nfig['uri_ protocol'] | |
| 48 | */ | |
| 49 | $config['u ri_protoco l'] = 'AUT O'; | |
| 50 | ||
| 51 | /** | |
| 52 | * URL suff ix | |
| 53 | * | |
| 54 | * This opt ion allows you to ad d a suffix to all UR Ls generat ed by Code Igniter. | |
| 55 | * For more informati on please see the us er guide: | |
| 56 | * | |
| 57 | * http://c odeigniter .com/user_ guide/gene ral/urls.h tml | |
| 58 | * | |
| 59 | * @global string $co nfig['url_ suffix'] | |
| 60 | */ | |
| 61 | ||
| 62 | $config['u rl_suffix' ] = ''; | |
| 63 | ||
| 64 | /** | |
| 65 | * Default Language | |
| 66 | * | |
| 67 | * This det ermines wh ich set of language files shou ld be used . Make sur e | |
| 68 | * there is an availa ble transl ation if y ou intend to use som ething oth er | |
| 69 | * than eng lish. | |
| 70 | * | |
| 71 | * @global string $co nfig['lang uage'] | |
| 72 | */ | |
| 73 | $config['l anguage'] = 'eng lish'; | |
| 74 | ||
| 75 | /** | |
| 76 | * Default Character Set | |
| 77 | * | |
| 78 | * This det ermines wh ich charac ter set is used by d efault in various me thods | |
| 79 | * that req uire a cha racter set to be pro vided. | |
| 80 | * | |
| 81 | * @global string $co nfig['char set'] | |
| 82 | */ | |
| 83 | $config['c harset'] = 'UTF-8'; | |
| 84 | ||
| 85 | /** | |
| 86 | * Enable/D isable Sys tem Hooks | |
| 87 | * | |
| 88 | * If you w ould like to use the 'hooks' f eature you must enab le it by | |
| 89 | * setting this varia ble to TRU E (boolean ). See th e user gui de for det ails. | |
| 90 | * | |
| 91 | * @global boolean $c onfig['ena ble_hooks' ] | |
| 92 | */ | |
| 93 | $config['e nable_hook s'] = TRUE ; | |
| 94 | ||
| 95 | ||
| 96 | /** | |
| 97 | * Class Ex tension Pr efix | |
| 98 | * | |
| 99 | * This ite m allows y ou to set the filena me/classna me prefix when exten ding | |
| 100 | * native l ibraries. For more informatio n please s ee the use r guide: | |
| 101 | * | |
| 102 | * http://c odeigniter .com/user_ guide/gene ral/core_c lasses.htm l | |
| 103 | * http://c odeigniter .com/user_ guide/gene ral/creati ng_librari es.html | |
| 104 | * | |
| 105 | * @global string $co nfig['subc lass_prefi x'] | |
| 106 | */ | |
| 107 | $config['s ubclass_pr efix'] = ' DPII_'; | |
| 108 | ||
| 109 | /* | |
| 110 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 111 | | Composer auto-load ing | |
| 112 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 113 | | | |
| 114 | | Enabling this sett ing will t ell CodeIg niter to l ook for a Composer | |
| 115 | | package auto-loade r script i n applicat ion/vendor /autoload. php. | |
| 116 | | | |
| 117 | | $c onfig['com poser_auto load'] = T RUE; | |
| 118 | | | |
| 119 | | Or if yo u have you r vendor/ directory located so mewhere el se, you | |
| 120 | | can opt to set a s pecific pa th as well : | |
| 121 | | | |
| 122 | | $c onfig['com poser_auto load'] = ' /path/to/v endor/auto load.php'; | |
| 123 | | | |
| 124 | | For more informati on about C omposer, p lease visi t http://g etcomposer .org/ | |
| 125 | | | |
| 126 | | Note: Th is will NO T disable or overrid e the Code Igniter-sp ecific | |
| 127 | | au toloading (applicati on/config/ autoload.p hp) | |
| 128 | */ | |
| 129 | $config['c omposer_au toload'] = FALSE; | |
| 130 | ||
| 131 | /** | |
| 132 | * Allowed URL Charac ters | |
| 133 | * | |
| 134 | * This let s you spec ify with a regular e xpression which char acters are permitted | |
| 135 | * within y our URLs. When some one tries to submit a URL with disallowe d | |
| 136 | * characte rs they wi ll get a w arning mes sage. | |
| 137 | * | |
| 138 | * As a sec urity meas ure you ar e STRONGLY encourage d to restr ict URLs t o | |
| 139 | * as few c haracters as possibl e. By def ault only these are allowed: a -z 0-9~%.: _- | |
| 140 | * | |
| 141 | * Leave bl ank to all ow all cha racters -- but only if you are insane. | |
| 142 | * | |
| 143 | * DO NOT C HANGE THIS UNLESS YO U FULLY UN DERSTAND T HE REPERCU SSIONS!! | |
| 144 | * | |
| 145 | * @global string $co nfig['perm itted_uri_ chars'] | |
| 146 | */ | |
| 147 | $config['p ermitted_u ri_chars'] = 'a-z 0- 9~%.:_\'\- ()@='; | |
| 148 | /* 2017-06 -30 - Myke Carter - Apostrophe added to accommodat e users wi th apostro phes in th eir names and/or ext ernal emai l addresse s */ | |
| 149 | ||
| 150 | /** | |
| 151 | * Enable Q uery Strin gs | |
| 152 | * | |
| 153 | * By defau lt CodeIgn iter uses search-eng ine friend ly segment based URL s: | |
| 154 | * example. com/who/wh at/where/ | |
| 155 | * | |
| 156 | * By defau lt CodeIgn iter enabl es access to the $_G ET array. If for so me | |
| 157 | * reason y ou would l ike to dis able it, s et 'allow_ get_array' to FALSE. | |
| 158 | * | |
| 159 | * You can optionally enable st andard que ry string based URLs : | |
| 160 | * example. com?who=me &what=some thing&wher e=here | |
| 161 | * | |
| 162 | * Options are: TRUE or FALSE ( boolean) | |
| 163 | * | |
| 164 | * The othe r items le t you set the query string 'wo rds' that will | |
| 165 | * invoke y our contro llers and its functi ons: | |
| 166 | * example. com/index. php?c=cont roller&m=f unction | |
| 167 | * | |
| 168 | * Please n ote that s ome of the helpers w on't work as expecte d when | |
| 169 | * this fea ture is en abled, sin ce CodeIgn iter is de signed pri marily to | |
| 170 | * use segm ent based URLs. | |
| 171 | */ | |
| 172 | $config['a llow_get_a rray'] = TRUE; | |
| 173 | $config['e nable_quer y_strings' ] = FALSE; | |
| 174 | $config['c ontroller_ trigger'] = 'c'; | |
| 175 | $config['f unction_tr igger'] = 'm'; | |
| 176 | $config['d irectory_t rigger'] = 'd'; / / experime ntal not c urrently i n use | |
| 177 | ||
| 178 | /** | |
| 179 | * Error Lo gging Thre shold | |
| 180 | * | |
| 181 | * If you h ave enable d error lo gging, you can set a n error th reshold to | |
| 182 | * determin e what get s logged. Threshold options ar e: | |
| 183 | * You can enable err or logging by settin g a thresh old over z ero. The | |
| 184 | * threshol d determin es what ge ts logged. Threshold options a re: | |
| 185 | * | |
| 186 | * 0 = Disables logging, Error logg ing TURNED OFF | |
| 187 | * 1 = Error Me ssages (in cluding PH P errors) | |
| 188 | * 2 = Debug Me ssages | |
| 189 | * 3 = Informat ional Mess ages | |
| 190 | * 4 = All Mess ages | |
| 191 | * | |
| 192 | * For a li ve site yo u'll usual ly only en able Error s (1) to b e logged o therwise | |
| 193 | * your log files wil l fill up very fast. | |
| 194 | * | |
| 195 | * @global int $confi g['log_thr eshold'] | |
| 196 | */ | |
| 197 | $config['l og_thresho ld'] = 1; | |
| 198 | ||
| 199 | /** | |
| 200 | * Error Lo gging Dire ctory Path | |
| 201 | * | |
| 202 | * Leave th is BLANK u nless you would like to set so mething ot her than t he default | |
| 203 | * applicat ion/logs/ folder. Us e a full s erver path with trai ling slash . | |
| 204 | * | |
| 205 | * @global string $co nfig['log_ path'] | |
| 206 | */ | |
| 207 | $config['l og_path'] = ''; | |
| 208 | ||
| 209 | ||
| 210 | /* | |
| 211 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 212 | | Log File Extension | |
| 213 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 214 | | | |
| 215 | | The defa ult filena me extensi on for log files. Th e default 'php' allo ws for | |
| 216 | | protecti ng the log files via basic scr ipting, wh en they ar e to be st ored | |
| 217 | | under a publicly a ccessible directory. | |
| 218 | | | |
| 219 | | Note: Le aving it b lank will default to 'php'. | |
| 220 | | | |
| 221 | */ | |
| 222 | $config['l og_file_ex tension'] = ''; | |
| 223 | ||
| 224 | /* | |
| 225 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 226 | | Log File Permissio ns | |
| 227 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 228 | | | |
| 229 | | The file system pe rmissions to be appl ied on new ly created log files . | |
| 230 | | | |
| 231 | | IMPORTAN T: This MU ST be an i nteger (no quotes) a nd you MUS T use octa l | |
| 232 | | integer notation (i.e. 0700 , 0644, et c.) | |
| 233 | */ | |
| 234 | $config['l og_file_pe rmissions' ] = 0644; | |
| 235 | ||
| 236 | /** | |
| 237 | * Date For mat for Lo gs | |
| 238 | * | |
| 239 | * Each ite m that is logged has an associ ated date. You can u se PHP dat e | |
| 240 | * codes to set your own date f ormatting | |
| 241 | * | |
| 242 | * @global string $co nfig['log_ date_forma t'] | |
| 243 | */ | |
| 244 | $config['l og_date_fo rmat'] = ' Y-m-d H:i: s'; | |
| 245 | ||
| 246 | /** | |
| 247 | * Error Vi ews Direct ory Path | |
| 248 | * | |
| 249 | * Leave th is BLANK u nless you would like to set so mething ot her than t he default | |
| 250 | * applicat ion/views/ errors/ di rectory. Use a full server pa th with tr ailing sla sh. | |
| 251 | * | |
| 252 | * @global string $co nfig['erro r_views_pa th'] | |
| 253 | */ | |
| 254 | $config['e rror_views _path'] = ''; | |
| 255 | ||
| 256 | /** | |
| 257 | * Cache Di rectory Pa th | |
| 258 | * | |
| 259 | * Leave th is BLANK u nless you would like to set so mething ot her than t he default | |
| 260 | * system/c ache/ fold er. Use a full serv er path wi th trailin g slash. | |
| 261 | * | |
| 262 | * @global string $co nfig['cach e_path'] | |
| 263 | */ | |
| 264 | $config['c ache_path' ] = ''; | |
| 265 | ||
| 266 | $applicati on_ini_con fig = pars e_ini_file (APPLICATI ON_INI_LOC ATION); | |
| 267 | ||
| 268 | /** | |
| 269 | * Encrypti on Key | |
| 270 | * | |
| 271 | * If you u se the Enc ryption cl ass or the Session c lass you | |
| 272 | * MUST set an encryp tion key. See the u ser guide for info. | |
| 273 | * | |
| 274 | * @global string $co nfig['encr yption_key '] | |
| 275 | */ | |
| 276 | $config['e ncryption_ key'] = $a pplication _ini_confi g['encrypt ion_key']; | |
| 277 | ||
| 278 | /* | |
| 279 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 280 | | Session Variables | |
| 281 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 282 | | | |
| 283 | | 'sess_dr iver' | |
| 284 | | | |
| 285 | | Th e storage driver to use: files , database , redis, m emcached | |
| 286 | | | |
| 287 | | 'sess_co okie_name' | |
| 288 | | | |
| 289 | | Th e session cookie nam e, must co ntain only [0-9a-z_- ] characte rs | |
| 290 | | | |
| 291 | | 'sess_ex piration' | |
| 292 | | | |
| 293 | | Th e number o f SECONDS you want t he session to last. | |
| 294 | | Se tting to 0 (zero) me ans expire when the browser is closed. | |
| 295 | | | |
| 296 | | 'sess_sa ve_path' | |
| 297 | | | |
| 298 | | Th e location to save s essions to , driver d ependant. | |
| 299 | | | |
| 300 | | Fo r the 'fil es' driver , it's a p ath to a w ritable di rectory. | |
| 301 | | WA RNING: Onl y absolute paths are supported ! | |
| 302 | | | |
| 303 | | Fo r the 'dat abase' dri ver, it's a table na me. | |
| 304 | | Pl ease read up the man ual for th e format w ith other session dr ivers. | |
| 305 | | | |
| 306 | | IM PORTANT: Y ou are REQ UIRED to s et a valid save path ! | |
| 307 | | | |
| 308 | | 'sess_ma tch_ip' | |
| 309 | | | |
| 310 | | Wh ether to m atch the u ser's IP a ddress whe n reading the sessio n data. | |
| 311 | | | |
| 312 | | 'sess_ti me_to_upda te' | |
| 313 | | | |
| 314 | | Ho w many sec onds betwe en CI rege nerating t he session ID. | |
| 315 | | | |
| 316 | | 'sess_re generate_d estroy' | |
| 317 | | | |
| 318 | | Wh ether to d estroy ses sion data associated with the old sessio n ID | |
| 319 | | wh en auto-re generating the sessi on ID. Whe n set to F ALSE, the data | |
| 320 | | wi ll be late r deleted by the gar bage colle ctor. | |
| 321 | | | |
| 322 | | Other se ssion cook ie setting s are shar ed with th e rest of the applic ation, | |
| 323 | | except f or 'cookie _prefix' a nd 'cookie _httponly' , which ar e ignored here. | |
| 324 | | | |
| 325 | */ | |
| 326 | $config['s ess_driver '] = 'file s'; | |
| 327 | $config['s ess_cookie _name'] = 'directses sion'; | |
| 328 | $config['s ess_expira tion']= 60 0; | |
| 329 | $config['s ess_save_p ath'] = NU LL; | |
| 330 | $config['s ess_match_ ip'] = FAL SE; | |
| 331 | $config['s ess_time_t o_update'] = 0; | |
| 332 | $config['s ess_regene rate_destr oy'] = FAL SE; | |
| 333 | ||
| 334 | /** | |
| 335 | * Cookie R elated Var iables | |
| 336 | * | |
| 337 | * 'cookie_ prefix' = Set a pref ix if you need to av oid collis ions | |
| 338 | * 'cookie_ domain' = Set to .yo ur-domain. com for si te-wide co okies | |
| 339 | * 'cookie_ path' = Typically will be a forward s lash | |
| 340 | * 'cookie_ secure' = Cookies w ill only b e set if a secure HT TPS connec tion exist s. | |
| 341 | */ | |
| 342 | $config['c ookie_pref ix'] = ""; | |
| 343 | $config['c ookie_doma in'] = ""; | |
| 344 | $config['c ookie_path '] = "/"; | |
| 345 | $config['c ookie_secu re'] = TRU E; | |
| 346 | $config['c ookie_http only'] = T RUE; | |
| 347 | ||
| 348 | /* | |
| 349 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 350 | | Standard ize newlin es | |
| 351 | |--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 352 | | | |
| 353 | | Determin es whether to standa rdize newl ine charac ters in in put data, | |
| 354 | | meaning to replace \r\n, \r, \n occure nces with the PHP_EO L value. | |
| 355 | | | |
| 356 | | This is particular ly useful for portab ility betw een UNIX-b ased OSes, | |
| 357 | | (usually \n) and W indows (\r \n). | |
| 358 | | | |
| 359 | */ | |
| 360 | $config['s tandardize _newlines' ] = FALSE; | |
| 361 | ||
| 362 | /** | |
| 363 | * Global X SS Filteri ng | |
| 364 | * | |
| 365 | * Determin es whether the XSS f ilter is a lways acti ve when GE T, POST or | |
| 366 | * COOKIE d ata is enc ountered | |
| 367 | * | |
| 368 | * @global boolean $c onfig['glo bal_xss_fi ltering'] | |
| 369 | */ | |
| 370 | $config['g lobal_xss_ filtering' ] = FALSE; | |
| 371 | ||
| 372 | /** | |
| 373 | * Cross Si te Request Forgery | |
| 374 | *--------- ---------- ---------- ---------- ---------- ---------- ---------- ----- | |
| 375 | * Enables a CSRF coo kie token to be set. When set to TRUE, t oken will be | |
| 376 | * checked on a submi tted form. If you ar e acceptin g user dat a, it is s trongly | |
| 377 | * recommen ded CSRF p rotection be enabled . | |
| 378 | * | |
| 379 | * 'csrf_to ken_name' = The toke n name | |
| 380 | * 'csrf_co okie_name' = The coo kie name | |
| 381 | * 'csrf_ex pire' = Th e number i n seconds the token should exp ire. | |
| 382 | */ | |
| 383 | $config['c srf_protec tion'] = T RUE; | |
| 384 | $config['c srf_token_ name'] = ' dpiiwebtok en'; | |
| 385 | $config['c srf_cookie _name'] = 'dpiiwebto kencookie' ; | |
| 386 | $config['c srf_expire '] = 300; | |
| 387 | $config['c srf_regene rate'] = F ALSE; | |
| 388 | $config['c srf_exclud e_uris'] = array('au th/logout' , 'auth/lo gout/(.+)' ); | |
| 389 | ||
| 390 | /** | |
| 391 | * Output C ompression | |
| 392 | * | |
| 393 | * Enables Gzip outpu t compress ion for fa ster page loads. Wh en enabled , | |
| 394 | * the outp ut class w ill test w hether you r server s upports Gz ip. | |
| 395 | * Even if it does, h owever, no t all brow sers suppo rt compres sion | |
| 396 | * so enabl e only if you are re asonably s ure your v isitors ca n handle i t. | |
| 397 | * | |
| 398 | * VERY IMP ORTANT: I f you are getting a blank page when comp ression is enabled i t | |
| 399 | * means yo u are prem aturely ou tputting s omething t o your bro wser. It c ould | |
| 400 | * even be a line of whitespace at the en d of one o f your scr ipts. For | |
| 401 | * compress ion to wor k, nothing can be se nt before the output buffer is called | |
| 402 | * by the o utput clas s. Do not 'echo' an y values w ith compre ssion enab led. | |
| 403 | * | |
| 404 | * @global boolean $c onfig['com press_outp ut'] | |
| 405 | */ | |
| 406 | $config['c ompress_ou tput'] = F ALSE; | |
| 407 | ||
| 408 | /** | |
| 409 | * Master T ime Refere nce | |
| 410 | * | |
| 411 | * Options are 'local ' or 'gmt' . This pr ef tells t he system whether to use | |
| 412 | * your ser ver's loca l time as the master 'now' ref erence, or convert i t to | |
| 413 | * GMT. Se e the 'dat e helper' page of th e user gui de for inf ormation | |
| 414 | * regardin g date han dling. | |
| 415 | * | |
| 416 | * @global string $co nfig['time _reference '] | |
| 417 | */ | |
| 418 | $config['t ime_refere nce'] = 'l ocal'; | |
| 419 | ||
| 420 | ||
| 421 | /** | |
| 422 | * Rewrite PHP Short Tags | |
| 423 | * | |
| 424 | * If your PHP instal lation doe s not have short tag support e nabled CI | |
| 425 | * can rewr ite the ta gs on-the- fly, enabl ing you to utilize t hat syntax | |
| 426 | * in your view files . Options are TRUE or FALSE ( boolean) | |
| 427 | * | |
| 428 | * @global boolean $c onfig['rew rite_short _tags'] | |
| 429 | */ | |
| 430 | $config['r ewrite_sho rt_tags'] = FALSE; | |
| 431 | ||
| 432 | ||
| 433 | /** | |
| 434 | * Reverse Proxy IPs | |
| 435 | * | |
| 436 | * If your server is behind a r everse pro xy, you mu st whiteli st the pro xy IP | |
| 437 | * addresse s from whi ch CodeIgn iter shoul d trust th e HTTP_X_F ORWARDED_F OR | |
| 438 | * header i n order to properly identify t he visitor 's IP addr ess. | |
| 439 | * Comma-de limited, e .g. ' IP , IP ' | |
| 440 | * | |
| 441 | * @global string $co nfig['rewr ite_short_ tags'] | |
| 442 | */ | |
| 443 | $config['p roxy_ips'] = ''; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.