title: Root path of site in CodeIgniter
body: <p>I am using Uploading Class to upload images. But the location where my uploaded images will be stored is: <code>http://www.mysite.com/uploads/</code></p>
  
  <p>Absolute path to this folder is: <code>c:\wamp\www\mysite\uploads\</code></p>
  
  <p>Application folder is in : <code>c:\wamp\www\mysite\application\</code></p>
  
  <p>So when I upload to server, absolute path will not be same. So, how to get absolute root path to use with the <code>upload_path</code> config of Uploading Class?</p>