Update index.php

function sae_log() added.