Changeset 2211 in subversion
- Timestamp:
- Jan 2, 2009 9:48:10 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/iniset.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/iniset.php
r2123 r2211 51 51 } 52 52 53 ini_set('error_reporting', E_ALL&~E_NOTICE); 54 if (isset($_SERVER['HTTPS'])) { 55 ini_set('session.cookie_secure', ($_SERVER['HTTPS'] && ($_SERVER['HTTPS'] != 'off'))?1:0); 56 } else { 57 ini_set('session.cookie_secure', 0); 58 } 53 59 ini_set('session.name', 'roundcube_sessid'); 54 60 ini_set('session.use_cookies', 1); 55 61 ini_set('session.only_use_cookies', 1); 56 ini_set('session.cookie_secure', ($_SERVER['HTTPS'] && ($_SERVER['HTTPS'] != 'off')));57 ini_set('error_reporting', E_ALL&~E_NOTICE);58 62 set_magic_quotes_runtime(0); 59 63 … … 73 77 * 74 78 * @todo Make Zend, PEAR etc play with this 79 * @todo Make our classes conform to a more straight forward CS. 75 80 */ 76 81 function __autoload($classname) … … 113 118 // set PEAR error handling (will also load the PEAR main class) 114 119 PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'rcube_pear_error'); 115
Note: See TracChangeset
for help on using the changeset viewer.
