Created
April 7, 2014 15:04
-
-
Save imarklee/10022055 to your computer and use it in GitHub Desktop.
Retrieving EasySocial configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perfect!