Nextcloud 13 is not compatible with newer than php 7.2
Just to avoid users from trying this with a to new (untested) php version
* Moved the check logic to 1 place
* All directly callable scripts just require this on top
* exit hard (-1) so we know scripts won't continue
* Return status 500 so no sync clients will try fancy stuff
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
Showing
- console.php 2 additions, 8 deletionsconsole.php
- cron.php 1 addition, 6 deletionscron.php
- index.php 1 addition, 7 deletionsindex.php
- lib/versioncheck.php 18 additions, 0 deletionslib/versioncheck.php
- ocs/providers.php 1 addition, 0 deletionsocs/providers.php
- ocs/v1.php 1 addition, 0 deletionsocs/v1.php
- public.php 3 additions, 0 deletionspublic.php
- remote.php 2 additions, 0 deletionsremote.php
- status.php 2 additions, 0 deletionsstatus.php
Loading
Please register or sign in to comment