Linux Mastering Development

PulseAudio profile files for 8i8o soundcard

I have a pretty non-standard (not typical in consumer-segment sound) soundcard that I want to use as my main card. It have 8 outputs and 8 inputs, hovewer, PulseAudio does not understand it correctly and offers me either 7.1 output or multichannel input. So, if I would like to make a conf-call, I can’t do […]

CMS Development

Using element queries in general.php config file

Can i use element queries in general.php file? I wanted to set loginPath based on entry query, like this: ‘loginPath’ => Craft::$app->entries->section(‘login’)->one()->url ?? false, Hovewer, i get error: ( ! ) Fatal error: Uncaught Error: Class ‘Craft’ not found in C:\xampp\htdocs\xxx\config\general.php on line 40