title: Custom config file for codeigniter
body: <p>Very new to CodeIgniter, trying to create a custom config file to load special variables into my application. </p>
  
  <p>in <code>application/config/</code> I created <code>custom.php</code> and placed the following code in that file: </p>
  
  <pre><code>&lt;?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
  
  $gender = array ('male','female'); 
  
  ?&gt;
  </code></pre>
  
  <p>I then opened up <code>application/config/autoload</code> and altered the following code: </p>
  
  <pre><code>$autoload['config'] = array();
  
  /* TO: */ 
  
  $autoload['config'] = array('custom');
  </code></pre>
  
  <p>I refresh my application and see this error: </p>
  
  <pre><code>Your application/config/custom.php file does not appear to contain a valid configuration array.
  </code></pre>
  
  <p>I opened up some of the default config files and don't see a configuration array? What am I doing wrong?</p>