Skip to content

Instantly share code, notes, and snippets.

@farrelley
Created February 10, 2014 15:44
Show Gist options
  • Save farrelley/8918165 to your computer and use it in GitHub Desktop.
Save farrelley/8918165 to your computer and use it in GitHub Desktop.
<?php
$configPaths = sprintf(
'%s/config/{,*.}{global,%s,local}.php',
APPLICATION_PATH,
SLIM_MODE
);
$config = Zend\Config\Factory::fromFiles(glob($configPaths, GLOB_BRACE));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment