tsugiproject / tsugi

Tsugi Admin, Developer, and Management Console (pls join the dev list)
http://www.tsugi.org
Apache License 2.0
346 stars 257 forks source link

PHP 8.X function libxml_disable_entity_loader is deprecated #134

Closed torinfo closed 2 years ago

torinfo commented 3 years ago

This causes a warning on line 13 of vendor/tsugi/lib/include/setup.php

I solved it in the Xerte code by adding '&& \PHP_VERSION_ID < 8000'

So the whole line reads as:

if ( function_exists ( 'libxml_disable_entity_loader' ) && \PHP_VERSION_ID < 8000) libxml_disable_entity_loader();

csev commented 2 years ago

This has been fixed - thanks.