Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Forked from bnvk/Confusing array
Created March 31, 2010 22:16
Show Gist options
  • Save aaronpk/350999 to your computer and use it in GitHub Desktop.
Save aaronpk/350999 to your computer and use it in GitHub Desktop.
$home_base_array = array();
$home_base_array[''] = '--select--';
$home_base_array[$this->config->item('site_name')] = $this->config->item('site_name'));
foreach($this->config->item('social_connections') as $connection)
$home_base_array[$connection] = $connection;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment