Update engine.php

Fix the security check script...