[eluser]nmormino[/eluser]
Is there a way to access the $system_folder and $application_folder from within a controller in order to build path to a particular file?
[eluser]pistolPete[/eluser]
Have a look at the constants defined in index.php:
Code:
/*
|---------------------------------------------------------------
| DEFINE APPLICATION CONSTANTS
|---------------------------------------------------------------
|
| EXT - The file extension. Typically ".php"
| SELF - The name of THIS file (typically "index.php")
| FCPATH - The full server path to THIS file
| BASEPATH - The full server path to the "system" folder
| APPPATH - The full server path to the "application" folder
|
*/