Just use Composer for DeviceDetector.

It was initially my goal to lessen use of Composer, but given I just switched to using NPM packages for asset compilation, it's a little bit silly to try and keep that going.
This commit is contained in:
flash 2023-07-21 16:12:08 +00:00
parent 52aa43dd94
commit f628c8ad76
4 changed files with 122 additions and 13 deletions

View file

@ -29,12 +29,7 @@ Environment::setDebug(MSZ_DEBUG);
mb_internal_encoding('utf-8');
date_default_timezone_set('utc');
// Third party libraries
require_once MSZ_ROOT . '/vendor/autoload.php';
require_once MSZ_LIBRARIES . '/spyc/Spyc.php'; // dependency for device-detector
require_once MSZ_LIBRARIES . '/device-detector/autoload.php';
// Procedural components
require_once MSZ_ROOT . '/utility.php';
require_once MSZ_SOURCE . '/perms.php';
require_once MSZ_SOURCE . '/manage.php';