Revert previous changes in index.php and use stable version of the Symfony2 framework.