Skip to content

Commit

Permalink
Fix PHP 7.x warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nearwood committed Oct 31, 2019
1 parent 3dfb66c commit 85e06f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ public static function parse($file, $something)
//Should be global values (don't think any ini's have them)
assert($currentSection === NULL);
$globals[$key] = INI::defaultSectionHandler($value);
continue; //Skip the section values assignment below
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/view/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

</div>
<?php
if (!LOCAL)
if (!DEBUG)
{
?>
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/view/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="view/msqur.css" />
<?php
if (LOCAL) { ?>
if (DEBUG) { ?>
<script src="view/lib/jquery.min.js"></script>
<link rel="stylesheet" href="view/lib/jquery-ui.css" />
<script src="view/lib/jquery-ui.min.js"></script>
Expand Down

0 comments on commit 85e06f2

Please sign in to comment.