Remove $_APP check in index.php