<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:framework="http://symfony.com/schema/dic/symfony"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
                        http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config secret="s3cr3t" ide="file%%link%%format">
        <framework:csrf-protection enabled="true" field-name="_csrf" />
        <framework:form />
        <framework:esi enabled="true" />
        <framework:profiler only-exceptions="true" />
        <framework:router resource="%kernel.root_dir%/config/routing.xml" type="xml" />
        <framework:session auto-start="true" default-locale="fr" storage-id="session.storage.native" name="_SYMFONY" lifetime="86400" path="/" domain="example.com" secure="true" httponly="true" />
        <framework:templating assets-version="SomeVersionScheme" cache="/path/to/cache" >
            <framework:loader>loader.foo</framework:loader>
            <framework:loader>loader.bar</framework:loader>
            <framework:engine>php</framework:engine>
            <framework:engine>twig</framework:engine>
            <framework:assets-base-url>http://cdn.example.com</framework:assets-base-url>
            <framework:package name="images" version="1.0.0">
                <framework:base-url>http://images1.example.com</framework:base-url>
                <framework:base-url>http://images2.example.com</framework:base-url>
            </framework:package>
            <framework:package name="foo" version="1.0.0" />
            <framework:package name="bar">
                <framework:base-url>http://bar1.example.com</framework:base-url>
                <framework:base-url>http://bar2.example.com</framework:base-url>
            </framework:package>
            <framework:form>
                 <framework:resource>theme1</framework:resource>
                 <framework:resource>theme2</framework:resource>
            </framework:form>
        </framework:templating>
        <framework:translator enabled="true" fallback="fr" />
        <framework:validation enabled="true" cache="apc" />
        <framework:annotations cache="file" debug="true" file-cache-dir="%kernel.cache_dir%/annotations" />
    </framework:config>
</container>
