mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -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)) {
|
if (!empty($setmodules)) {
|
||||||
$module['TP']['FORUM_CONFIG'] = basename(__FILE__);
|
$module[env('APP_NAME', 'TorrentPier')]['FORUM_CONFIG'] = basename(__FILE__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
require __DIR__ . '/pagestart.php';
|
require __DIR__ . '/pagestart.php';
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
if (!empty($setmodules)) {
|
if (!empty($setmodules)) {
|
||||||
if (IS_SUPER_ADMIN) {
|
if (IS_SUPER_ADMIN) {
|
||||||
$module['TP']['CRON'] = basename(__FILE__) . '?mode=list';
|
$module[env('APP_NAME', 'TorrentPier')]['CRON'] = basename(__FILE__) . '?mode=list';
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1579,7 +1579,6 @@ $lang['USERS'] = 'User Admin';
|
||||||
$lang['GROUPS'] = 'Group Admin';
|
$lang['GROUPS'] = 'Group Admin';
|
||||||
$lang['FORUMS'] = 'Forum Admin';
|
$lang['FORUMS'] = 'Forum Admin';
|
||||||
$lang['MODS'] = 'Modifications';
|
$lang['MODS'] = 'Modifications';
|
||||||
$lang['TP'] = 'TorrentPier';
|
|
||||||
|
|
||||||
$lang['CONFIGURATION'] = 'Configuration';
|
$lang['CONFIGURATION'] = 'Configuration';
|
||||||
$lang['MANAGE'] = 'Management';
|
$lang['MANAGE'] = 'Management';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue