core.php and database.php