projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tyler: This is not very original but should do the trick
[squirrelmail.git]
/
functions
/
imap_general.php
diff --git
a/functions/imap_general.php
b/functions/imap_general.php
index 8bd2485aee551001430052b15421889c12bb489e..617c2937c889d52149da909e112b46c1d89c7c50 100755
(executable)
--- a/
functions/imap_general.php
+++ b/
functions/imap_general.php
@@
-20,9
+20,11
@@
*/
function sqimap_session_id() {
+ global $data_dir, $username;
+
$IMAPSessionID = substr(session_id(), -4);
if( $IMAPSessionID == '' ) {
- $IMAPSessionID =
GenerateRandomString(4, '', 7)
;
+ $IMAPSessionID =
'A001'
;
}
return( $IMAPSessionID );