Notice for using WSP > 6.7

Frontend dbaccess.inc.php requires following text since WSP 6.7.1:

DEFINE('DB_HOST', 'hostname/localhost');
DEFINE('DB_NAME', 'dbname');
DEFINE('DB_USER', 'dbuser');
DEFINE('DB_PASS', 'dbpass');

If you are not sure of modules and interpretes prepared for PHP7, append following text to frontend dbaccess.inc.php:

$_SESSION['wspvars']['dbcon'] = @mysql_connect(DB_HOST,DB_USER,DB_PASS);
$_SESSION['wspvars']['dbaccess'] = @mysql_select_db(DB_NAME, $_SESSION['wspvars']['dbcon']);