title: Defining Application Constants in Codeigniter
body: <p>I want to know a clean way of defining Application Constants in Codeigniter. I don't want to change any native file of codeigniter. Hence I don't want to define it in <code>application/config/constants.php</code> as when I need to migrate to newer version of code-igniter I will not be able to copy the native files of codeigniter directly.</p>
  
  <p>I created a file <code>application/config/my_constants.php</code> and defined my constants there. 'define('APP_VERSION', '1.0.0');'</p>
  
  <p>I loaded it using <code>$this-&gt;load-&gt;config('my_constants');</code></p>
  
  <p>But I am getting a error </p>
  
  <p><code>Your application/config/dv_constants.php file does not appear to contain a valid configuration array.</code></p>
  
  <p>Please suggest me a clean way of defining application level constants in code-igniter.</p>