Within the config folder there is a general.php file with various vars which are site specific.
how do i get at these from within a plugin?
Thanks for your help.
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityIt is considered best practice to use the public get methods, so while the Craft 3 answer is correct, you should try to get in the habit of calling the methods.
Craft::$app->getConfig()->getGeneral()->varName
It looks more verbose, but generally best practice and follows the coding guidelines.
https://craftcms.com/docs/3.x/extend/coding-guidelines.html#app-component-getters