eledia update core file and modifiy include file to work with new php version