mirror of https://github.com/rusefi/msqur.git
Fix PHP 7.x warnings
This commit is contained in:
parent
3dfb66c051
commit
85e06f20e4
|
@ -310,7 +310,6 @@ class INI
|
||||||
//Should be global values (don't think any ini's have them)
|
//Should be global values (don't think any ini's have them)
|
||||||
assert($currentSection === NULL);
|
assert($currentSection === NULL);
|
||||||
$globals[$key] = INI::defaultSectionHandler($value);
|
$globals[$key] = INI::defaultSectionHandler($value);
|
||||||
continue; //Skip the section values assignment below
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if (!LOCAL)
|
if (!DEBUG)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="stylesheet" href="view/msqur.css" />
|
<link rel="stylesheet" href="view/msqur.css" />
|
||||||
<?php
|
<?php
|
||||||
if (LOCAL) { ?>
|
if (DEBUG) { ?>
|
||||||
<script src="view/lib/jquery.min.js"></script>
|
<script src="view/lib/jquery.min.js"></script>
|
||||||
<link rel="stylesheet" href="view/lib/jquery-ui.css" />
|
<link rel="stylesheet" href="view/lib/jquery-ui.css" />
|
||||||
<script src="view/lib/jquery-ui.min.js"></script>
|
<script src="view/lib/jquery-ui.min.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue