mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 02:08:57 +00:00
Move python scripts out of tmux folder into update_scripts folder, adjust other parts of newznab-tmux to accommodate the change.
This commit is contained in:
@@ -199,9 +199,9 @@ function window_proxy($tmux_session, $window)
|
||||
$nntpproxy = $pdo->getSetting('nntpproxy');
|
||||
if ($nntpproxy === '1') {
|
||||
$DIR = NN_MISC;
|
||||
$nntpproxypy = $DIR . "update_scripts/nix_scripts/tmux/python/nntpproxy.py";
|
||||
if (file_exists($DIR . "update_scripts/nix_scripts/tmux/python/lib/nntpproxy.conf")) {
|
||||
$nntpproxyconf = $DIR . "update_scripts/nix_scripts/tmux/python/lib/nntpproxy.conf";
|
||||
$nntpproxypy = $DIR . "update_scripts/python/nntpproxy.py";
|
||||
if (file_exists($DIR . "update_scripts/python/lib/nntpproxy.conf")) {
|
||||
$nntpproxyconf = $DIR . "update_scripts/python/lib/nntpproxy.conf";
|
||||
exec("tmux new-window -t $tmux_session -n nntpproxy 'printf \"\033]2;NNTPProxy\033\" && python $nntpproxypy $nntpproxyconf'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user