Skip to content

Instantly share code, notes, and snippets.

@imarklee
Created April 7, 2014 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imarklee/10022055 to your computer and use it in GitHub Desktop.
Save imarklee/10022055 to your computer and use it in GitHub Desktop.
Retrieving EasySocial configuration
<?php
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php');
$config = Foundry::config();
if ($config->get('conversations.enabled')) {
// Do something wonderful here
}
if ($config->get('groups.enabled')) {
// Do something wonderful here
}
@Serhioromano
Copy link

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment