logs work again. fixed assumin index.php