workaround for warning on sf.net
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-10-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/session.inc.php: workaround for warnings on session_start()
|
||||||
|
displayed on sf.net server
|
||||||
|
|
||||||
2005-10-08 Michal Čihař <michal@cihar.com>
|
2005-10-08 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/display_export.lib.php: Use same formatting for all options.
|
* libraries/display_export.lib.php: Use same formatting for all options.
|
||||||
* libraries/import/ldi.php: This one does not handle charset conversion.
|
* libraries/import/ldi.php: This one does not handle charset conversion.
|
||||||
|
@@ -41,8 +41,10 @@ if ( version_compare( PHP_VERSION, '5.0.0', 'ge' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// start the session
|
// start the session
|
||||||
session_name( 'phpMyAdmin' );
|
// on some servers (for example, sourceforge.net), we get a permission error
|
||||||
session_start();
|
// on the session data directory, so I add some "@"
|
||||||
|
@session_name( 'phpMyAdmin' );
|
||||||
|
@session_start();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* trys to secure session from hijacking and fixation
|
* trys to secure session from hijacking and fixation
|
||||||
@@ -62,4 +64,4 @@ function PMA_secureSession() {
|
|||||||
session_id( strip_tags( session_id() ) );
|
session_id( strip_tags( session_id() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user