En config.phpComo llegar URL base en CodeIgniter 2. *
$config['base_url'] = 'http://localhost/codeigniter/';
En Vista
<link rel="stylesheet" href="<?php base_url(); ?>css/default.css" type="text/css" />
=> Error: Call to undefined function base_url();
Ayúdame
te olvidas echo href = " Php echo base_url();?> Intenta esto es tu trabajo. – pratik