adjust Request-class methods to be more flexible

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-12-30 21:43:27 +01:00
parent 983d929460
commit f2485ecd9a
31 changed files with 87 additions and 57 deletions

View File

@@ -39,8 +39,8 @@ use Froxlor\UI\Response;
// This file is being included in admin_domains and customer_domains
// and therefore does not need to require lib/init.php
$domain_id = (int)Request::get('domain_id');
$last_n = (int)Request::get('number_of_lines', 100);
$domain_id = (int)Request::any('domain_id');
$last_n = (int)Request::any('number_of_lines', 100);
// user's with logviewenabled = false
if (AREA != 'admin' && $userinfo['logviewenabled'] != '1') {