[Magellancms-cvs] magellan/var/lib magellan.library,1.13,1.14 pagebuilder.library,1.12,1.13 session.
Brought to you by:
burzmali
|
From: <bur...@us...> - 2003-04-19 13:08:36
|
Update of /cvsroot/magellancms/magellan/var/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv15484/var/lib
Modified Files:
magellan.library pagebuilder.library session.library
Log Message:
posix_getpid() is no more used.
Index: magellan.library
===================================================================
RCS file: /cvsroot/magellancms/magellan/var/lib/magellan.library,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** magellan.library 4 Apr 2003 16:46:05 -0000 1.13
--- magellan.library 19 Apr 2003 13:08:30 -0000 1.14
***************
*** 873,877 ****
global $env;
! $template_file = md5( microtime().posix_getpid() );
// If no template file is provided, then create an empty one
--- 873,877 ----
global $env;
! $template_file = md5( microtime() );
// If no template file is provided, then create an empty one
Index: pagebuilder.library
===================================================================
RCS file: /cvsroot/magellancms/magellan/var/lib/pagebuilder.library,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** pagebuilder.library 4 Apr 2003 16:46:10 -0000 1.12
--- pagebuilder.library 19 Apr 2003 13:08:30 -0000 1.13
***************
*** 116,120 ****
}
! $tmpfn = TMP_PATH.'magellanpages/'.md5( microtime().posix_getpid() );
// Page generator object
//
--- 116,120 ----
}
! $tmpfn = TMP_PATH.'magellanpages/'.md5( microtime() );
// Page generator object
//
Index: session.library
===================================================================
RCS file: /cvsroot/magellancms/magellan/var/lib/session.library,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** session.library 4 Apr 2003 16:46:11 -0000 1.7
--- session.library 19 Apr 2003 13:08:30 -0000 1.8
***************
*** 82,86 ****
if ( !headers_sent() )
{
! $this->sessid = md5( microtime().posix_getpid() );
//setcookie( 'amp_sessid', $this->sessid, '', '/' );
setcookie( 'amp_sessid', $this->sessid, SESSION_MAXLIFE, '/' );
--- 82,86 ----
if ( !headers_sent() )
{
! $this->sessid = md5( microtime() );
//setcookie( 'amp_sessid', $this->sessid, '', '/' );
setcookie( 'amp_sessid', $this->sessid, SESSION_MAXLIFE, '/' );
|