aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 11:58:28 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 11:58:28 +0200
commita2629258ae325adb1f2d11d1b2ce2cc6ecef40e1 (patch)
tree86676e89973c6bc1d0c60de282c48ff896a3e5d6 /boot.php
parent378aaf4a61176832f91cf8a95b3962915ee13708 (diff)
parent695afefd4b006a180fce1df2debb575cbdd0c0ea (diff)
downloadvolse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.tar.gz
volse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.tar.bz2
volse-hubzilla-a2629258ae325adb1f2d11d1b2ce2cc6ecef40e1.zip
Merge branch 'master' of https://github.com/tuscanhobbit/red
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index db2401847..c8b529d42 100755
--- a/boot.php
+++ b/boot.php
@@ -562,9 +562,17 @@ function startup() {
// Some hosting providers block/disable this
@set_time_limit(0);
- // This has to be quite large to deal with embedded private photos
- ini_set('pcre.backtrack_limit', 500000);
+ if(function_exists ('ini_set')) {
+ // This has to be quite large to deal with embedded private photos
+ @ini_set('pcre.backtrack_limit', 500000);
+
+ // Use cookies to store the session ID on the client side
+ @ini_set('session.use_only_cookies', 1);
+
+ // Disable transparent Session ID support
+ @ini_set('session.use_trans_sid', 0);
+ }
if (get_magic_quotes_gpc()) {
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);