mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 deletions
|
@ -15,7 +15,7 @@ class View extends BaseAdminModule
|
|||
parent::content($parameters);
|
||||
|
||||
$t = Renderer::getMarkupTemplate('admin/logs/view.tpl');
|
||||
$f = Config::get('system', 'logfile');
|
||||
$f = DI::config()->get('system', 'logfile');
|
||||
$data = '';
|
||||
|
||||
if (!file_exists($f)) {
|
||||
|
@ -46,7 +46,7 @@ class View extends BaseAdminModule
|
|||
'$title' => DI::l10n()->t('Administration'),
|
||||
'$page' => DI::l10n()->t('View Logs'),
|
||||
'$data' => $data,
|
||||
'$logname' => Config::get('system', 'logfile')
|
||||
'$logname' => DI::config()->get('system', 'logfile')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue