Issues (25)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

web/config.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
4
 * ************** CAUTION **************
5
 *
6
 * DO NOT EDIT THIS FILE as it will be overridden by Composer as part of
7
 * the installation/update process. The original file resides in the
8
 * SensioDistributionBundle.
9
 *
10
 * ************** CAUTION **************
11
 */
12
13
if (!isset($_SERVER['HTTP_HOST'])) {
14
    exit("This script cannot be run from the CLI. Run it from a browser.\n");
15
}
16
17
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
18
    '127.0.0.1',
19
    '::1',
20
))) {
21
    header('HTTP/1.0 403 Forbidden');
22
    exit('This script is only accessible from localhost.');
23
}
24
25
require_once dirname(__FILE__).'/../var/SymfonyRequirements.php';
26
27
$symfonyRequirements = new SymfonyRequirements();
28
29
$majorProblems = $symfonyRequirements->getFailedRequirements();
30
$minorProblems = $symfonyRequirements->getFailedRecommendations();
31
$hasMajorProblems = (bool) count($majorProblems);
32
$hasMinorProblems = (bool) count($minorProblems);
33
34
?>
35
<!DOCTYPE html>
36
<html>
37
    <head>
38
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
39
        <meta name="robots" content="noindex,nofollow" />
40
        <title>Symfony Configuration Checker</title>
41
        <style>
42
            /* styles copied from symfony framework bundle */
43
            html {
44
                background: #eee;
45
            }
46
            body {
47
                font: 11px Verdana, Arial, sans-serif;
48
                color: #333;
49
            }
50
            .sf-reset, .sf-reset .block, .sf-reset #message {
51
                margin: auto;
52
            }
53
            img {
54
                border: 0;
55
            }
56
            .clear {
57
                clear: both;
58
                height: 0;
59
                font-size: 0;
60
                line-height: 0;
61
            }
62
            .clear-fix:after {
63
                content: "\0020";
64
                display: block;
65
                height: 0;
66
                clear: both;
67
                visibility: hidden;
68
            }
69
            .clear-fix {
70
                display: inline-block;
71
            }
72
            * html .clear-fix {
73
                height: 1%;
74
            }
75
            .clear-fix {
76
                display: block;
77
            }
78
            .header {
79
                padding: 30px 30px 20px 30px;
80
            }
81
            .header-logo {
82
                float: left;
83
            }
84
            .search {
85
                float: right;
86
                padding-top: 20px;
87
            }
88
            .search label {
89
                line-height: 28px;
90
                vertical-align: middle;
91
            }
92
            .search input {
93
                width: 195px;
94
                font-size: 12px;
95
                border: 1px solid #dadada;
96
                background: #fff url(data:image/gif;base64,R0lGODlhAQAFAKIAAPX19e/v7/39/fr6+urq6gAAAAAAAAAAACH5BAAAAAAALAAAAAABAAUAAAMESAEjCQA7) repeat-x left top;
97
                padding: 5px 6px;
98
                color: #565656;
99
            }
100
            .search input[type="search"] {
101
                -webkit-appearance: textfield;
102
            }
103
            #content {
104
                width: 970px;
105
                margin: 0 auto;
106
            }
107
            #content pre {
108
                white-space: normal;
109
                font-family: Arial, Helvetica, sans-serif;
110
            }
111
112
            /*
113
            Copyright (c) 2010, Yahoo! Inc. All rights reserved.
114
            Code licensed under the BSD License:
115
            http://developer.yahoo.com/yui/license.html
116
            version: 3.1.2
117
            build: 56
118
            */
119
            .sf-reset div,.sf-reset dl,.sf-reset dt,.sf-reset dd,.sf-reset ul,.sf-reset ol,.sf-reset li,.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6,.sf-reset pre,.sf-reset code,.sf-reset form,.sf-reset fieldset,.sf-reset legend,.sf-reset input,.sf-reset textarea,.sf-reset p,.sf-reset blockquote,.sf-reset th,.sf-reset td{margin:0;padding:0;}.sf-reset table{border-collapse:collapse;border-spacing:0;}.sf-reset fieldset,.sf-reset img{border:0;}.sf-reset address,.sf-reset caption,.sf-reset cite,.sf-reset code,.sf-reset dfn,.sf-reset em,.sf-reset strong,.sf-reset th,.sf-reset var{font-style:normal;font-weight:normal;}.sf-reset li{list-style:none;}.sf-reset caption,.sf-reset th{text-align:left;}.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6{font-size:100%;font-weight:normal;}.sf-reset q:before,.sf-reset q:after{content:'';}.sf-reset abbr,.sf-reset acronym{border:0;font-variant:normal;}.sf-reset sup{vertical-align:text-top;}.sf-reset sub{vertical-align:text-bottom;}.sf-reset input,.sf-reset textarea,.sf-reset select{font-family:inherit;font-size:inherit;font-weight:inherit;}.sf-reset input,.sf-reset textarea,.sf-reset select{font-size:100%;}.sf-reset legend{color:#000;}
120
            .sf-reset abbr {
121
                border-bottom: 1px dotted #000;
122
                cursor: help;
123
            }
124
            .sf-reset p {
125
                font-size: 14px;
126
                line-height: 20px;
127
                padding-bottom: 20px;
128
            }
129
            .sf-reset strong {
130
                color: #313131;
131
                font-weight: bold;
132
            }
133
            .sf-reset a {
134
                color: #6c6159;
135
            }
136
            .sf-reset a img {
137
                border: none;
138
            }
139
            .sf-reset a:hover {
140
                text-decoration: underline;
141
            }
142
            .sf-reset em {
143
                font-style: italic;
144
            }
145
            .sf-reset h2,
146
            .sf-reset h3 {
147
                font-weight: bold;
148
            }
149
            .sf-reset h1 {
150
                font-family: Georgia, "Times New Roman", Times, serif;
151
                font-size: 20px;
152
                color: #313131;
153
                word-wrap: break-word;
154
            }
155
            .sf-reset li {
156
                padding-bottom: 10px;
157
            }
158
            .sf-reset .block {
159
                -moz-border-radius: 16px;
160
                -webkit-border-radius: 16px;
161
                border-radius: 16px;
162
                margin-bottom: 20px;
163
                background-color: #FFFFFF;
164
                border: 1px solid #dfdfdf;
165
                padding: 40px 50px;
166
                word-break: break-all;
167
            }
168
            .sf-reset h2 {
169
                font-size: 16px;
170
                font-family: Arial, Helvetica, sans-serif;
171
            }
172
            .sf-reset li a {
173
                background: none;
174
                color: #868686;
175
                text-decoration: none;
176
            }
177
            .sf-reset li a:hover {
178
                background: none;
179
                color: #313131;
180
                text-decoration: underline;
181
            }
182
            .sf-reset ol {
183
                padding: 10px 0;
184
            }
185
            .sf-reset ol li {
186
                list-style: decimal;
187
                margin-left: 20px;
188
                padding: 2px;
189
                padding-bottom: 20px;
190
            }
191
            .sf-reset ol ol li {
192
                list-style-position: inside;
193
                margin-left: 0;
194
                white-space: nowrap;
195
                font-size: 12px;
196
                padding-bottom: 0;
197
            }
198
            .sf-reset li .selected {
199
                background-color: #ffd;
200
            }
201
            .sf-button {
202
                display: -moz-inline-box;
203
                display: inline-block;
204
                text-align: center;
205
                vertical-align: middle;
206
                border: 0;
207
                background: transparent none;
208
                text-transform: uppercase;
209
                cursor: pointer;
210
                font: bold 11px Arial, Helvetica, sans-serif;
211
            }
212
            .sf-button span {
213
                text-decoration: none;
214
                display: block;
215
                height: 28px;
216
                float: left;
217
            }
218
            .sf-button .border-l {
219
                text-decoration: none;
220
                display: block;
221
                height: 28px;
222
                float: left;
223
                padding: 0 0 0 7px;
224
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQtJREFUeNpiPHnyJAMakARiByDWYEGT8ADiYGVlZStubm5xlv///4MEQYoKZGRkQkRERLRYWVl5wYJQyXBZWdkwCQkJUxAHKgaWlAHSLqKiosb//v1DsYMFKGCvoqJiDmQzwXTAJYECulxcXNLoumCSoszMzDzoumDGghQwYZUECWIzkrAkSIIGOmlkLI10AiX//P379x8jIyMTNmPf/v79+ysLCwsvuiQoNi5//fr1Kch4dAyS3P/gwYMTQBP+wxwHw0xA4gkQ73v9+vUZdJ2w1Lf82bNn4iCHCQoKasHsZw4ODgbRIL8c+/Lly5M3b978Y2dn5wC6npkFLXnsAOKLjx49AmUHLYAAAwBoQubG016R5wAAAABJRU5ErkJggg==) no-repeat top left;
225
            }
226
            .sf-button .border-r {
227
                padding: 0 7px 0 0;
228
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR1JREFUeNpiPHnyZCMDA8MNID5gZmb2nAEJMH7//v3N169fX969e/cYkL8WqGAHXPLv37//QYzfv39/fvPmzbUnT56sAXInmJub/2H5/x8sx8DCwsIrISFhDmQyPX78+CmQXs70798/BmQsKipqBNTgdvz4cWkmkE5kDATMioqKZkCFdiwg1eiAi4tLGqhQF24nMmBmZuYEigth1QkEbEBxTlySYPvJkwSJ00AnjYylgU6gxB8g/oFVEphkvgLF32KNMmCCewYUv4qhEyj47+HDhyeBzIMYOoEp8CxQw56wsLAncJ1//vz5/P79+2svX74EJc2V4BT58+fPd8CE/QKYHMGJOiIiAp6oWW7evDkNSF8DZYfIyEiU7AAQYACJ2vxVdJW4eQAAAABJRU5ErkJggg==) right top no-repeat;
229
            }
230
            .sf-button .btn-bg {
231
                padding: 0 14px;
232
                color: #636363;
233
                line-height: 28px;
234
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAYAAACgXdXMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiPnny5EKGf//+/Wf6//8/A4QAcrGzKCZwGc9sa2urBBBgAIbDUoYVp9lmAAAAAElFTkSuQmCC) repeat-x top left;
235
            }
236
            .sf-button:hover .border-l,
237
            .sf-button-selected .border-l {
238
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR9JREFUeNpi/P//PwMyOHfunDqQSgNiexZkibNnzxYBqZa3HOs5v7PcYQBLnjlzhg1IbfzIdsTjA/t+ht9Mr8GKwZL//v3r+sB+0OMN+zqIEf8gFMvJkyd1gXTOa9YNDP//otrPAtSV/Jp9HfPff78Z0AEL0LUeXxivMfxD0wXTqfjj/2ugkf+wSrL9/YtpJEyS4S8WI5Ek/+GR/POPFjr//cenE6/kP9q4Fo/kr39/mdj+M/zFkGQCSj5i+ccPjLJ/GBgkuYOHQR1sNDpmAkb2LBmWwL///zKCIxwZM0VHR18G6p4uxeLLAA4tJMwEshiou1iMxXaHLGswA+t/YbhORuQUv2DBAnCifvxzI+enP3dQJUFg/vz5sOzgBBBgAPxX9j0YnH4JAAAAAElFTkSuQmCC) no-repeat top left;
239
            }
240
            .sf-button:hover .border-r,
241
            .sf-button-selected .border-r {
242
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT5JREFUeNpiPHv27BkGBoaDQDzLyMjoJgMSYHrM3WX8hn1d0f///88DFRYhSzIuv2X5H8Rg/SfKIPDTkYH/l80OINffxMTkF9O/f/8ZQPgnwyuGl+wrGd6x7vf49+9fO9jYf3+Bkkj4NesmBqAV+SdPntQC6vzHgIz//gOawbqOGchOxtAJwp8Zr4F0e7D8/fuPAR38/P8eZIo0yz8skv8YvoIk+YE6/zNgAyD7sRqLkPzzjxY6/+HS+R+fTkZ8djLh08lCUCcuSWawJGbwMTGwg7zyBatX2Bj5QZKPsBrLzaICktzN8g/NWEYGZgYZjoC/wMiei5FMpFh8QPSU6Ojoy3Cd7EwiDBJsDgxiLNY7gLrKQGIsHAxSDHxAO2TZ/b8D+TVxcXF9MCtYtLiKLgDpfUDVsxITE1GyA0CAAQA2E/N8VuHyAAAAAABJRU5ErkJggg==) right top no-repeat;
243
            }
244
            .sf-button:hover .btn-bg,
245
            .sf-button-selected .btn-bg {
246
                color: #FFFFFF;
247
                text-shadow:0 1px 1px #6b9311;
248
                background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEFJREFUeNpiPnv2LNMdvlymf///M/37B8R/QfQ/MP33L4j+B6Qh7L9//sHpf2h8MA1V+w/KRjYLaDaLCU8vQIABAFO3TxZriO4yAAAAAElFTkSuQmCC) repeat-x top left;
249
            }
250
251
            /* styles copied from bundles/sensiodistribution/webconfigurator/css/install.css */
252
            body {
253
                font-size: 14px;
254
                font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
255
            }
256
            .sf-reset h1.title {
257
                font-size: 45px;
258
                padding-bottom: 30px;
259
            }
260
            .sf-reset h2 {
261
                font-weight: bold;
262
                color: #FFFFFF;
263
                /* Font is reset to sans-serif (like body) */
264
                font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
265
                margin-bottom: 10px;
266
                background-color: #aacd4e;
267
                padding: 2px 4px;
268
                display: inline-block;
269
                text-transform: uppercase;
270
            }
271
            .sf-reset ul a,
272
            .sf-reset ul a:hover {
273
                background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpiYACBjjOhDEiACSggCKTLgXQ5TJARqhIkcReIKxgqTGYxwvV0nDEGkmeAOIwJySiQ4HsgvseIpGo3ELsCtZ9lRDIvDCiwhwHJPEFkJwEEGACq6hdnax8y1AAAAABJRU5ErkJggg==) no-repeat right 7px;
274
                padding-right: 10px;
275
            }
276
            .sf-reset ul, ol {
277
                padding-left: 20px;
278
            }
279
            .sf-reset li {
280
                padding-bottom: 18px;
281
            }
282
            .sf-reset ol li {
283
                list-style-type: decimal;
284
            }
285
            .sf-reset ul li {
286
                list-style-type: none;
287
            }
288
            .sf-reset .symfony-blocks-install {
289
                overflow: hidden;
290
            }
291
            .sf-reset .symfony-install-continue {
292
                font-size: 0.95em;
293
                padding-left: 0;
294
            }
295
            .sf-reset .symfony-install-continue li {
296
                padding-bottom: 10px;
297
            }
298
            .sf-reset .ok {
299
                color: #fff;
300
                font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
301
                background-color: #6d6;
302
                padding: 10px;
303
                margin-bottom: 20px;
304
            }
305
            .sf-reset .ko {
306
                background-color: #d66;
307
            }
308
            .sf-reset p.help {
309
                padding: 12px 16px;
310
                word-break: break-word;
311
            }
312
            .version {
313
                text-align: right;
314
                font-size: 10px;
315
                margin-right: 20px;
316
            }
317
            .sf-reset a,
318
            .sf-reset li a {
319
                color: #08C;
320
                text-decoration: none;
321
            }
322
            .sf-reset a:hover,
323
            .sf-reset li a:hover {
324
                color: #08C;
325
                text-decoration: underline;
326
            }
327
            .sf-reset textarea {
328
                padding: 7px;
329
            }
330
        </style>
331
    </head>
332
    <body>
333
        <div id="content">
334
            <div class="header clear-fix">
335
                <div class="header-logo">
336
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAAA+CAMAAACxzRGDAAAAUVBMVEX////Ly8yko6WLioxkYmVXVVkwLjLl5eWxsLJKSEzy8vJxcHLY2Ni+vb89Oz9XVVh+fH+Yl5n///+xsbLY2Nlxb3KkpKWXlph+fX+LiYy+vr/IZP61AAAAAXRSTlMAQObYZgAABRBJREFUeNrVmtuWoyAQRS1FEEQSzQU7//+hYxUiXsKQZLJWM+chsUloN+WhCuguYoKyYqzmvGasKqH4HyRKxndipcgcumH8qViTM7TkUclcwaHmf5XM0eWq4km1KjdqXfMXJHVe1J3hL8lk5fCGv6wmT+o0d87U+XNrk0Y9nfv+7LM6ZJH5ZBL6LAbSxQ3Q5FDr22Skr8PQSy4n7isnsQxSX4r6pobhjCHHeDNOKrO3yGmCvZOjV9jmt8ulTdXFKdbKLNh+kOMvBzuVRa4Y7MUsdEUSWQe7xxCfZmcwjHU83LqzFvSbJQOXQvptbPnEFoyZtUUGwTeKuLuTHyT1kaP0P6cR01OKvv448gtl61dqZfmJezQmU/t+1R2fJLtBwXV6uWGwB9SZPrn0fKO2WAvQN1PUhHjTom3xgXYTkvlSKHs19OhslETq6X3HrXbjt8XbGj9b4Gi+lUAnL6XxQj8Pyk9N4Bt1xUrsLVN/3isYMug8rODMdbgOvoHs8uAb2fcANIAzkKCLYy+AXRpSU8sr1r4P67xhLgPp7vM32zlqt7Bhq2fI1Hwp+VgANxok59SsGV3oqdUL0YVDMRY7Yg8QLbVUU4NZNoOq5hJHuxEM28Sh/IyUZ8D3reR+yc58EGvOy2U0HQL6G9V+kWyEWHmzaMx6t4o9RhOm/riUiYrzqij4Ptqkn7AaCXqc+F47m04ahfde7YIz8RHEBN6BdVwdIGRVdNbKqYu1Hc0x0wBY4wqC8+XUgBGnj81SZsQB+0yAS1x/BlI/6ebHHk0lauQLuPDpu6EwAVJ7T0rl2uXa23jcqNyOZekhqYHRz3JOANrF4wCCmEs1f9D1lUe0n4NAATed80Y5e0Q7CO2TezM/BR6wKdgQzKbCF4uOQC3Bk0fKAzbFlyRWg3gksA/gmm7eOjrpaKX7fHlEW2xLbE6GZsPiCiShVzN7RG2xTz2G+OJtEqzdJ7APxy3MrSsV0VukXbKMp9lhs5BN6dr3CN+sySUaoxGwfRUM3I/gdPYONgVU+PLX4vUWm32AvUySarbONvcpV2RQEPKKjEBHFk01kQDGRblnn8ZuE9g+JUl8OWAPbkFK2K6JxhJVvF47FzYYnAN22ttwxKYCoH36rheEB7KG/HF/YUaa2G5JF+55tpyrl7B1WHM39HuP2N2EXPl1UBu8vbj4OjvD+NoTE4ssF+ScARgaJY1N7+u8bY/Y9BSM5PKwJbvMVab32YP5FB5TtcYVrGoASolVLTzI7kVsYVxRtAb5n2JXq1vCdtd47XtYItynrN0835PasLg0y13aOPbmPI+on2Lr9e5tjSHvgkAvclUjL3Fsdaw03IzgTR62yYClk7QMah4IQ0qSsoYYbOix6zJR1ZGDNMOY3Bb6W5S6jiyovep3t7bUPyoq7OkjYumrfESp8zSBc/OLosVf+nTnnKjsqR16++WDwpI8FxJWRFTlI6NKnqYJaL96TqjAbo9Toi5QiWBDcmfdFV+T8dkvFe5bItgstbM2X6QG2mVun+cazfRwOS0eiaeRRJKgLfc3BQAqfnhJyz8lfR6580SF/FXVu83Nz1xrrnFqqXL6Qxl47DNSm4RFflvN5sABDD8peouqLLKQXVdGbnqf+qIpOxON4ZyYdJEJ6sy4zS2c5eRPTT4Jyp46qDE5/ptAWqJOQ9e6yE82FXBbZCk1/tXVoshVoopE3CB0zmraI3nbqCJ/gW3ZMgtbC5nh/QHlOoOZBxQCRgAAAABJRU5ErkJggg==" alt="Symfony" />
337
                </div>
338
339
                <div class="search">
340
                  <form method="get" action="http://symfony.com/search">
341
                    <div class="form-row">
342
343
                      <label for="search-id">
344
                                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABUElEQVQoz2NgAIJ29iBdD0d7X2cPb+tY2f9MDMjgP2O2hKu7vS8CBlisZUNSMJ3fxRMkXO61wm2ue6I3iB1q8Z8ZriDZFCS03fm/wX+1/xp/TBo8QPxeqf+MUAW+QIFKj/+q/wX/c/3n/i/6Qd/bx943z/Q/K1SBI1D9fKv/AhCn/Wf5L5EHdFGKw39OqAIXoPpOMziX4T9/DFBBnuN/HqhAEtCKCNf/XDA/rZRyAmrpsvrPDVUw3wrkqCiLaewg6TohX1d7X0ffs5r/OaAKfinmgt3t4ulr4+Xg4ANip3j+l/zPArNT4LNOD0pAgWCSOUIBy3+h/+pXbBa5tni0eMx23+/mB1YSYnENroT5Pw/QSOX/mkCo+l/jgo0v2KJA643s8PgAmsMBDCbu/5xALHPB2husxN9uCzsDOgAq5kAoaZVnYMCh5Ky1r88Eh/+iABM8jUk7ClYIAAAAAElFTkSuQmCC" alt="Search on Symfony website" />
345
                      </label>
346
347
                      <input name="q" id="search-id" type="search" placeholder="Search on Symfony website" />
348
349
                      <button type="submit" class="sf-button">
350
                          <span class="border-l">
351
                            <span class="border-r">
352
                                <span class="btn-bg">OK</span>
353
                            </span>
354
                        </span>
355
                      </button>
356
                    </div>
357
                   </form>
358
                </div>
359
            </div>
360
361
            <div class="sf-reset">
362
                <div class="block">
363
                    <div class="symfony-block-content">
364
                        <h1 class="title">Configuration Checker</h1>
365
                        <p>
366
                            This script analyzes your system to check whether is
367
                            ready to run Symfony applications.
368
                        </p>
369
370
                        <?php if ($hasMajorProblems): ?>
371
                            <h2 class="ko">Major problems</h2>
372
                            <p>Major problems have been detected and <strong>must</strong> be fixed before continuing:</p>
373
                            <ol>
374
                                <?php foreach ($majorProblems as $problem): ?>
375
                                    <li><?php echo $problem->getTestMessage() ?>
376
                                        <p class="help"><em><?php echo $problem->getHelpHtml() ?></em></p>
377
                                    </li>
378
                                <?php endforeach; ?>
379
                            </ol>
380
                        <?php endif; ?>
381
382
                        <?php if ($hasMinorProblems): ?>
383
                            <h2>Recommendations</h2>
384
                            <p>
385
                                <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience,
386
                                it’s recommended that you fix the following:
387
                            </p>
388
                            <ol>
389
                                <?php foreach ($minorProblems as $problem): ?>
390
                                    <li><?php echo $problem->getTestMessage() ?>
391
                                        <p class="help"><em><?php echo $problem->getHelpHtml() ?></em></p>
392
                                    </li>
393
                                <?php endforeach; ?>
394
                            </ol>
395
                        <?php endif; ?>
396
397
                        <?php if ($symfonyRequirements->hasPhpIniConfigIssue()): ?>
398
                            <p id="phpini">*
399
                                <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?>
0 ignored issues
show
Bug Best Practice introduced by Peter Kokot
The expression $symfonyRequirements->getPhpIniConfigPath() of type string|false is loosely compared to true; this is ambiguous if the string can be empty. You might want to explicitly use !== false instead.

In PHP, under loose comparison (like ==, or !=, or switch conditions), values of different types might be equal.

For string values, the empty string '' is a special case, in particular the following results might be unexpected:

''   == false // true
''   == null  // true
'ab' == false // false
'ab' == null  // false

// It is often better to use strict comparison
'' === false // false
'' === null  // false
Loading history...
400
                                    Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>".
401
                                <?php else: ?>
402
                                    To change settings, create a "<strong>php.ini</strong>".
403
                                <?php endif; ?>
404
                            </p>
405
                        <?php endif; ?>
406
407
                        <?php if (!$hasMajorProblems && !$hasMinorProblems): ?>
408
                            <p class="ok">All checks passed successfully. Your system is ready to run Symfony applications.</p>
409
                        <?php endif; ?>
410
411
                        <ul class="symfony-install-continue">
412
                            <?php if ($hasMajorProblems || $hasMinorProblems): ?>
413
                                <li><a href="config.php">Re-check configuration</a></li>
414
                            <?php endif; ?>
415
                        </ul>
416
                    </div>
417
                </div>
418
            </div>
419
            <div class="version">Symfony Standard Edition</div>
420
        </div>
421
    </body>
422
</html>
423