core.php mosified