This app allows to add checks to Nextcloud initialization.
-
Place this app in nextcloud/apps/;
-
Add a php file with desired check into folder
check
; -
Enable app in Nextcloud.
There is a sample in file check_sample.php.dist, that checks if browser is Firefox* and denies user to use Nextcloud. For testing it, rename file as check_sample.php. So, in the next request you will see a message and application will be aborted.
* Firefox was chosen as example only because it is free
InitialCheck by fgsl