* [ADD] Added mime type file checking instead of extension. Thanks to @vmario89 for the feedback. Related #825

* [MOD] Improved exception handling in controllers

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-11-10 21:41:07 +01:00
parent a159569e74
commit ed956eec54
53 changed files with 924 additions and 179 deletions

View File

@@ -46,6 +46,10 @@ final class UserSettingsManagerController extends ControllerBase implements Exte
*/
protected $tabsHelper;
/**
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
*/
public function indexAction()
{
$this->getTabs();
@@ -53,6 +57,9 @@ final class UserSettingsManagerController extends ControllerBase implements Exte
/**
* Returns a tabbed grid with items
*
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
*/
protected function getTabs()
{