load->model('setting/startup'); $results = $this->model_setting_startup->getStartups(); foreach ($results as $result) { if (substr($result['action'], 0, 8) == 'catalog/') { $this->load->controller(substr($result['action'], 8)); } } } }