[eluser]tomcode[/eluser]
There are two by CodeIgniter in the index.php file defined constants
Code:
/*
| BASEPATH - The full server path to the "system" folder
| APPPATH - The full server path to the "application" folder
*/
which I use a lot.
Then I use
Code:
./my/path/to/somewhere
which is always relative to the folder wherein You're index.php resides
For any assets to load into the pages I use site_url() and base_url() which come in different flavors
Code:
// as part of the config class
$this->config->base_url();
$this->config->system_url();
//using the url helper
$this->load->helper('url');
site_url();
base_url();
By the way, CodeIgniter comes already with a font, I believe it's used for the captcha plugin.