summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2009-07-14 14:30:28 +0000
committertill <till@php.net>2009-07-14 14:30:28 +0000
commitaf58c3ec6a464d06bcff3e3b1b73d87fa2e8c1d9 (patch)
treea27302a56616691737cf0e6d9a461bf06a5a42ed
parent9db29eef64b6b62cd560e6880831f610d1358087 (diff)
* added $Rev$ to version
* added svn:keywords
-rwxr-xr-xprogram/include/iniset.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 9321dadfa..2cdc88fd9 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -16,13 +16,13 @@
| Thomas Bruederli <roundcube@gmail.com> |
+-----------------------------------------------------------------------+
- $Id: cache.inc 88 2005-12-03 16:54:12Z roundcube $
+ $Id$
*/
// application constants
-define('RCMAIL_VERSION', '0.3-trunk');
+define('RCMAIL_VERSION', '0.3-trunk-$Rev$');
define('RCMAIL_CHARSET', 'UTF-8');
define('JS_OBJECT_NAME', 'rcmail');
@@ -59,7 +59,9 @@ if (isset($_SERVER['HTTPS'])) {
ini_set('session.name', 'roundcube_sessid');
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
-set_magic_quotes_runtime(0);
+if (function_exists('set_magic_quotes_runtime')) {
+ set_magic_quotes_runtime(0);
+}
// increase maximum execution time for php scripts
// (does not work in safe mode)