fix PHP warning if index.php is called directly