File tree Expand file tree Collapse file tree 5 files changed +18
-0
lines changed
src/Symfony/Bundle/FrameworkBundle
Tests/DependencyInjection Expand file tree Collapse file tree 5 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 22
22
<xsd : element name =" form" type =" form" minOccurs =" 0" maxOccurs =" 1" />
23
23
<xsd : element name =" csrf-protection" type =" csrf_protection" minOccurs =" 0" maxOccurs =" 1" />
24
24
<xsd : element name =" esi" type =" esi" minOccurs =" 0" maxOccurs =" 1" />
25
+ <xsd : element name =" ssi" type =" ssi" minOccurs =" 0" maxOccurs =" 1" />
25
26
<xsd : element name =" fragments" type =" fragments" minOccurs =" 0" maxOccurs =" 1" />
26
10000
27
<xsd : element name =" profiler" type =" profiler" minOccurs =" 0" maxOccurs =" 1" />
27
28
<xsd : element name =" router" type =" router" minOccurs =" 0" maxOccurs =" 1" />
64
65
<xsd : attribute name =" enabled" type =" xsd:boolean" />
65
66
</xsd : complexType >
66
67
68
+ <xsd : complexType name =" ssi" >
69
+ <xsd : attribute name =" enabled" type =" xsd:boolean" />
70
+ </xsd : complexType >
71
+
67
72
<xsd : complexType name =" fragments" >
68
73
<xsd : attribute name =" enabled" type =" xsd:boolean" />
69
74
<xsd : attribute name =" path" type =" xsd:string" />
Original file line number Diff line number Diff line change 16
16
'esi ' => array (
17
17
'enabled ' => true ,
18
18
),
19
+ 'ssi ' => array (
20
+ 'enabled ' => true ,
21
+ ),
19
22
'profiler ' => array (
20
23
'only_exceptions ' => true ,
21
24
'enabled ' => false ,
Original file line number Diff line number Diff line change 12
12
<framework : csrf-protection field-name =" _csrf" />
13
13
</framework : form >
14
14
<framework : esi enabled =" true" />
15
+ <framework : ssi enabled =" true" />
15
16
<framework : profiler only-exceptions =" true" enabled =" false" />
16
17
<framework : router resource =" %kernel.root_dir%/config/routing.xml" type =" xml" />
17
18
<framework : session gc-maxlifetime =" 90000" gc-probability =" 1" gc-divisor =" 108" storage-id =" session.storage.native" handler-id =" session.handler.native_file" name =" _SYMFONY" cookie-lifetime =" 86400" cookie-path =" /" cookie-domain =" example.com" cookie-secure =" true" cookie-httponly =" true" save-path =" /path/to/sessions" />
ED6F
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ framework:
10
10
enabled : true
11
11
esi :
12
12
enabled : true
13
+ ssi :
14
+ enabled : true
13
15
profiler :
14
16
only_exceptions : true
15
17
enabled : false
Original file line number Diff line number Diff line change @@ -98,6 +98,13 @@ public function testEsi()
98
98
$ this ->assertTrue ($ container ->hasDefinition ('esi ' ), '->registerEsiConfiguration() loads esi.xml ' );
99
99
}
100
100
101
+ public function testSsi ()
102
+ {
103
+ $ container = $ this ->createContainerFromFile ('full ' );
104
+
105
+ $ this ->assertTrue ($ container ->hasDefinition ('ssi ' ), '->registerSsiConfiguration() loads ssi.xml ' );
106
+ }
107
+
101
108
public function testEnabledProfiler ()
102
109
{
103
110
$ container = $ this ->createContainerFromFile ('profiler ' );
You can’t perform that action at this time.
0 commit comments