mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Use APP_NAME instread lang variables (#604)
This commit is contained in:
parent
d7e875f8bd
commit
39cd01ca7f
3 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
if (!empty($setmodules)) {
|
||||
if (IS_SUPER_ADMIN) {
|
||||
$module['TP']['CRON'] = basename(__FILE__) . '?mode=list';
|
||||
$module[env('APP_NAME', 'TorrentPier')]['CRON'] = basename(__FILE__) . '?mode=list';
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue