Removed APP_NAME variable (#708)

This commit is contained in:
Roman Kelesidis 2023-05-23 14:00:28 +07:00 committed by GitHub
commit 8add267b2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View file

@ -9,7 +9,7 @@
if (!empty($setmodules)) {
if (IS_SUPER_ADMIN) {
$module[env('APP_NAME', 'TorrentPier')]['CRON'] = basename(__FILE__) . '?mode=list';
$module['TorrentPier']['CRON'] = basename(__FILE__) . '?mode=list';
}
return;
}