Updated cron.php to mysqli.
Merge branch 'ent'