title: how to require_once in codeigniter
body: <p>I am trying to extend a library in codeigniter. The only way to do so seems to include the original library using <code>require_once</code> then load the extended library using <code>$this-&gt;load-&gt;library()</code></p>
  
  <p>right now I have tried</p>
  
  <ol>
  <li><code>require_once('ion_auth.php');</code></li>
  <li><code>require_once('home/SITE_NAME/public_html/FOLDER_NAME/application/libraries/ion_auth.php')</code></li>
  <li><code>require_once('/home/SITE_NAME/public_html/FOLDER_NAME/application/libraries/ion_auth.php')</code></li>
  </ol>
  
  <p>but unfortunately not luck..... I keep getting this error</p>
  
  <pre><code>Message: require_once(...) [function.require-once]: failed to open stream: No such file or directory
  </code></pre>
  
  <p>Weird thing is though this works on my local xampp environment but not on the actual server.</p>