bug #1414628, session.save_handler not set to files

This commit is contained in:
Marc Delisle
2006-01-29 19:41:59 +00:00
parent 94ee273ff4
commit 672c5e5ab5
2 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ $Source$
* lang/norwegian: Update, thanks to Sven-Erik Andersen
* db_details_structure.php: bug #1396998, notice for view row count
in table list
* libraries/session.inc.php: bug #1414628, session.save_handler might
be set to something different than "files". Thanks to Nicola Asuni
2006-01-28 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: bug #1396998, avoid displaying exact row

View File

@@ -67,6 +67,11 @@ if (version_compare( PHP_VERSION, '5.0.0', 'ge')
// start the session
// on some servers (for example, sourceforge.net), we get a permission error
// on the session data directory, so I add some "@"
// [2006-01-25] Nicola Asuni - www.tecnick.com: maybe the PHP directive
// session.save_handler is set to another value like "user"
ini_set("session.save_handler", "files");
@session_name('phpMyAdmin');
@session_start();