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
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
if (!empty($setmodules)) {
|
||||
$module['TP']['FORUM_CONFIG'] = basename(__FILE__);
|
||||
$module[env('APP_NAME', 'TorrentPier')]['FORUM_CONFIG'] = basename(__FILE__);
|
||||
return;
|
||||
}
|
||||
require __DIR__ . '/pagestart.php';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1579,7 +1579,6 @@ $lang['USERS'] = 'User Admin';
|
|||
$lang['GROUPS'] = 'Group Admin';
|
||||
$lang['FORUMS'] = 'Forum Admin';
|
||||
$lang['MODS'] = 'Modifications';
|
||||
$lang['TP'] = 'TorrentPier';
|
||||
|
||||
$lang['CONFIGURATION'] = 'Configuration';
|
||||
$lang['MANAGE'] = 'Management';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue