Skip to content
Snippets Groups Projects
Commit a5398c71 authored by Pierre-Raphaël Giraud's avatar Pierre-Raphaël Giraud
Browse files

.

parent a9597064
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<td>{{ element.firstTeam.name }}</td> <td>{{ element.firstTeam.name }}</td>
<td>{{ element.secondTeam.name }}</td> <td>{{ element.secondTeam.name }}</td>
<td>{{ element.date | date('d-m-Y H:i') }}</td> <td>{{ element.date | date('d-m-Y H:i') }}</td>
<td>{{ element.league.name }}</td> <td>{{ element.league }}</td>
<td>{{ element.predictionWinFirst }} %</td> <td>{{ element.predictionWinFirst }} %</td>
<td>{{ element.predictionWinSecond }} %</td> <td>{{ element.predictionWinSecond }} %</td>
<td>{{ element.predictionDraw }} %</td> <td>{{ element.predictionDraw }} %</td>
......
File added
File added
File added
File added
File added
...@@ -633,12 +633,6 @@ class SymfonyRequirements extends RequirementCollection ...@@ -633,12 +633,6 @@ class SymfonyRequirements extends RequirementCollection
'Install and enable the <strong>mbstring</strong> extension.' 'Install and enable the <strong>mbstring</strong> extension.'
); );
$this->addRecommendation(
function_exists('iconv'),
'iconv() should be available',
'Install and enable the <strong>iconv</strong> extension.'
);
$this->addRecommendation( $this->addRecommendation(
function_exists('utf8_decode'), function_exists('utf8_decode'),
'utf8_decode() should be available', 'utf8_decode() should be available',
...@@ -780,7 +774,11 @@ class SymfonyRequirements extends RequirementCollection ...@@ -780,7 +774,11 @@ class SymfonyRequirements extends RequirementCollection
{ {
$size = ini_get('realpath_cache_size'); $size = ini_get('realpath_cache_size');
$size = trim($size); $size = trim($size);
$unit = '';
if (!ctype_digit($size)) {
$unit = strtolower(substr($size, -1, 1)); $unit = strtolower(substr($size, -1, 1));
$size = (int) substr($size, 0, -1);
}
switch ($unit) { switch ($unit) {
case 'g': case 'g':
return $size * 1024 * 1024 * 1024; return $size * 1024 * 1024 * 1024;
......
File added
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
if (!isset($_SERVER['HTTP_HOST'])) { if (!isset($_SERVER['HTTP_HOST'])) {
exit('This script cannot be run from the CLI. Run it from a browser.'); exit("This script cannot be run from the CLI. Run it from a browser.\n");
} }
if (!in_array(@$_SERVER['REMOTE_ADDR'], array( if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
...@@ -270,7 +270,7 @@ $hasMinorProblems = (bool) count($minorProblems); ...@@ -270,7 +270,7 @@ $hasMinorProblems = (bool) count($minorProblems);
} }
.sf-reset ul a, .sf-reset ul a,
.sf-reset ul a:hover { .sf-reset ul a:hover {
background: url(../images/blue-arrow.png) no-repeat right 6px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpiYACBjjOhDEiACSggCKTLgXQ5TJARqhIkcReIKxgqTGYxwvV0nDEGkmeAOIwJySiQ4HsgvseIpGo3ELsCtZ9lRDIvDCiwhwHJPEFkJwEEGACq6hdnax8y1AAAAABJRU5ErkJggg==) no-repeat right 7px;
padding-right: 10px; padding-right: 10px;
} }
.sf-reset ul, ol { .sf-reset ul, ol {
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment