From bf43229be3fdc0b98f07e741a2d7097eb9a07c82 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 4 Apr 2017 15:13:10 +0200 Subject: [PATCH] Change paths handling in NNBase.php --- NNBase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NNBase.php b/NNBase.php index 058cb5c25..25cb9e850 100644 --- a/NNBase.php +++ b/NNBase.php @@ -1,15 +1,15 @@ 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__); ?>