mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
revert to previous idea
This commit is contained in:
parent
eb5055049d
commit
a6737e8571
1 changed files with 1 additions and 1 deletions
2
app.php
2
app.php
|
|
@ -52,7 +52,7 @@ if($f3->get('DISABLE_ORGANIZATION')) {
|
|||
$f3->set('disableOrganization', $f3->get('DISABLE_ORGANIZATION'));
|
||||
}
|
||||
|
||||
$f3->set('ADMIN_AUTHORIZED_IP', array_merge(["localhost", "127.0.0.1", "::1"], $f3->get('ADMIN_AUTHORIZED_IP')));
|
||||
$f3->set('ADMIN_AUTHORIZED_IP', array_merge(["localhost", "127.0.0.1", "::1"], explode(' ', $f3->get('ADMIN_AUTHORIZED_IP') . '')));
|
||||
$f3->set('IS_ADMIN', in_array(@$_SERVER["REMOTE_ADDR"], $f3->get('ADMIN_AUTHORIZED_IP')));
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue