Corrects log.php