mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Revert constants removal changes
This commit is contained in:
@@ -7,7 +7,7 @@ use App\Models\Settings;
|
||||
use Blacklight\ColorCLI;
|
||||
use Blacklight\utility\Utility;
|
||||
|
||||
$DIR = base_path().'/misc/update/tmux/';
|
||||
$DIR = NN_TMUX;
|
||||
$import = Settings::settingValue('site.tmux.import') ?? 0;
|
||||
$tmux_session = Settings::settingValue('site.tmux.tmux_session') ?? 0;
|
||||
$seq = Settings::settingValue('site.tmux.sequential') ?? 0;
|
||||
@@ -33,7 +33,7 @@ Collection::query()->where('dateadded', '<', now()->subHours($delaytimet))->upda
|
||||
|
||||
function writelog($pane)
|
||||
{
|
||||
$path = resource_path().'/'.'logs';
|
||||
$path = NN_RES.'logs';
|
||||
$getdate = gmdate('Ymd');
|
||||
$logs = Settings::settingValue('site.tmux.write_logs');
|
||||
if ((int) $logs === 1) {
|
||||
|
||||
Reference in New Issue
Block a user