Welcome Guest, Not a member yet? Register   Sign In
Get full system path of an assets file, or folder?
#1

[eluser]coldscooter[/eluser]
Is there any way in codeignigter to get the full path of a file?

ie: /usr/local/var/development/www/...
#2

[eluser]CroNiX[/eluser]
FCPATH is the full path to index.php.
APPPATH is the full path to the application folder.
Other paths are defined at the bottom of index.php.
#3

[eluser]WanWizard[/eluser]
Assuming you have the filename and it's (relative) location, you can use realpath() to get the full pathname.
#4

[eluser]coldscooter[/eluser]
Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB