$filename = '';
$a = DI::app();
- $config = $a->getConfig();
+ $config = DI::config();
$lang = $config->get('system', 'language');
// @TODO: Replace with parameter from router
$path .= '/';
}
- $path .= $a->getArgumentValue($x);
+ $path .= DI::args()->get($x);
}
$title = basename($path);
$filename = $path;