aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_session.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-01 10:20:57 +0100
committerplegall <plg@piwigo.org>2016-02-01 10:20:57 +0100
commitda8d2b2af0e38715a929b3d4b900ee793cdfb3e8 (patch)
tree386658eb909674adbb0c2afbe756bdbf9a895d37 /include/functions_session.inc.php
parent70726892e031553563899783d9caab4d2c2e5b65 (diff)
parent2fcf276811723d300b4d4c08675994339a6688fa (diff)
Merge branch 'master' into translation
Diffstat (limited to 'include/functions_session.inc.php')
-rw-r--r--include/functions_session.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index aaa07fd07..9c12e26c1 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -2,7 +2,7 @@
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
-// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
@@ -71,7 +71,7 @@ function generate_key($size)
str_replace(
array('+', '/'),
'',
- base64_encode(openssl_random_pseudo_bytes($size))
+ base64_encode(openssl_random_pseudo_bytes($size+10))
),
0,
$size
@@ -260,4 +260,4 @@ function pwg_unset_session_var($var)
return true;
}
-?> \ No newline at end of file
+?>