Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Created September 28, 2010 11:51
Show Gist options
  • Save voxpelli/600845 to your computer and use it in GitHub Desktop.
Save voxpelli/600845 to your computer and use it in GitHub Desktop.
<?php
function feeds_do($name) {
if (environment_allowed($name, 'feeds', TRUE)) {
// Do the dance
}
}
feeds_do('Heavy Import');
<?php
$conf = array(
'environment_override' => 'my_dev',
'environment_definitions' => array(
'my_dev' => array(
'default' => TRUE,
'feeds' => array(
'Heavy Import' => FALSE,
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment