Fix silex detection script
Fix doc root of symfony2 apps