Change paths handling in NNBase.php

This commit is contained in:
DariusIII
2017-04-04 15:13:10 +02:00
parent c7da907542
commit bf43229be3
+3 -3
View File
@@ -1,15 +1,15 @@
<?php
include_once 'nntmux/constants.php';
include_once __DIR__ . DIRECTORY_SEPARATOR . 'nntmux/constants.php';
if ($argc > 1) {
$constant = $argv[1];
include_once 'nntmux/constants.php';
include_once __DIR__ . DIRECTORY_SEPARATOR . 'nntmux/constants.php';
if (defined($constant)) {
exit(constant($constant));
}
}
exit(dirname(__FILE__));
exit(__DIR__ . __FILE__);
?>