Skip to content

Commit

Permalink
Change include_once to require_once in nZEDbBase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
niel committed Mar 8, 2017
1 parent 82599dc commit 3e24c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nZEDbBase.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

if ($argc > 1) {
include_once 'nzedb/constants.php';
$constant = $argv[1];
require_once 'nzedb/constants.php';

if (defined($constant)) {
exit(constant($constant));
}

}

exit(dirname(__FILE__));
Expand Down

0 comments on commit 3e24c7a

Please sign in to comment.