Convert session module warning to generic message function.

This commit is contained in:
Michal Čihař
2010-05-05 11:36:10 +02:00
parent 142c0b5f84
commit b1109fa7f4

View File

@@ -19,7 +19,7 @@ if (! defined('PHPMYADMIN')) {
// verify if PHP supports session, die if it does not
if (!@function_exists('session_name')) {
PMA_fatalError('strCantLoad', 'session');
PMA_warnMissingExtension('session', true);
} elseif (ini_get('session.auto_start') == true && session_name() != 'phpMyAdmin') {
// Do not delete the existing session, it might be used by other
// applications; instead just close it.