Update dashboard.php

If this file is called directly, abort.