mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 02:38:55 +00:00
Move all the config files to newznab/config folder.
This commit is contained in:
@@ -6,13 +6,14 @@
|
||||
*
|
||||
* It will start the tmux server and monitoring scripts if needed.
|
||||
*/
|
||||
require_once realpath(__DIR__ . '/../../../../www/config.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
|
||||
use newznab\db\Settings;
|
||||
use newznab\controllers\Tmux;
|
||||
|
||||
$pdo = new Settings();
|
||||
|
||||
$tmux = new \Tmux();
|
||||
$tmux = new Tmux();
|
||||
$tmux_settings = $tmux->get();
|
||||
$tmux_session = (isset($tmux_settings->tmux_session)) ? $tmux_settings->tmux_session : 0;
|
||||
$path = __DIR__;
|
||||
|
||||
Reference in New Issue
Block a user