Update database.php

* Added Escape Function