Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
@@ -10,8 +10,7 @@ class Manifest extends BaseModule
|
||||
{
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = $app->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('manifest.tpl');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user