mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Change paths handling in NNBase.php
This commit is contained in:
+3
-3
@@ -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__);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user