[eluser]Muser[/eluser]
I am using CI 1.6 extracted from SVN and I hope it is one of my errors.... but I've created this config file:
firstpagetypes.php
Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
$firstpagetypes = array(
//Type //Number of items //Description
'onewideonetiny' => array(2, 'Una gran i una petita'),
'threetinyswithphoto' => array(3, 'Tres petites amb foto'),
'threetinys' => array(3, 'Tres petites sense foto'),
'onepanoramic' => array(1, 'Una gran panorĂ mica')
);
?>
in my controller I have:
Code:
$bloctypesconfig = $this->config->load("firstpagetypes");
and CI error message prompt in my face:
"An Error Was Encountered
Your firstpagetypes.php file does not appear to contain a valid configuration array."
I've tried with smileys.php (CI's out of the box smilies.php) and I get the same error:
Code:
$this->config->load("smileys");
"An Error Was Encountered
Your smileys.php file does not appear to contain a valid configuration array."
It's a bug??