workaround for warning on sf.net
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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>
|
||||
* libraries/display_export.lib.php: Use same formatting for all options.
|
||||
* 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
|
||||
session_name( 'phpMyAdmin' );
|
||||
session_start();
|
||||
// on some servers (for example, sourceforge.net), we get a permission error
|
||||
// on the session data directory, so I add some "@"
|
||||
@session_name( 'phpMyAdmin' );
|
||||
@session_start();
|
||||
|
||||
/**
|
||||
* trys to secure session from hijacking and fixation
|
||||
|
Reference in New Issue
Block a user