mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Update methods to load LAN files in Admin Area
(fingers crossed there are no typo's...)
This commit is contained in:
@@ -17,9 +17,7 @@ if (!getperms('U'))
|
||||
exit;
|
||||
}
|
||||
|
||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
||||
|
||||
|
||||
e107::coreLan('cron', true);
|
||||
|
||||
class cron_admin extends e_admin_dispatcher
|
||||
{
|
||||
@@ -269,7 +267,7 @@ class cron_admin_ui extends e_admin_ui
|
||||
|
||||
if(!$sql->insert('cron',$insert))
|
||||
{
|
||||
e107::getMessage()->add(LAN_CRON_6, E_MESSAGE_ERROR);
|
||||
e107::getMessage()->addDebug(LAN_CRON_6);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user