Skip to content

Instantly share code, notes, and snippets.

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