Update system/core/Log.php

Don't print no script access code into log file if log file is not .php anymore.