diff options
author | plegall <plg@piwigo.org> | 2016-02-01 10:20:57 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-02-01 10:20:57 +0100 |
commit | da8d2b2af0e38715a929b3d4b900ee793cdfb3e8 (patch) | |
tree | 386658eb909674adbb0c2afbe756bdbf9a895d37 /include/functions_session.inc.php | |
parent | 70726892e031553563899783d9caab4d2c2e5b65 (diff) | |
parent | 2fcf276811723d300b4d4c08675994339a6688fa (diff) |
Merge branch 'master' into translation
Diffstat (limited to 'include/functions_session.inc.php')
-rw-r--r-- | include/functions_session.inc.php | 6 |
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 +?> |