database.php changed to run it on older version of the PHP