Welcome Guest, Not a member yet? Register   Sign In
How to access $application_path?
#1

[eluser]a tired machine[/eluser]
When working with files and directories I somehow don't think it's smart to hard-code the application path into my application. Rather, it should use the value set in the index.php file.

I was able to find it here:

Code:
$this->config->_config_paths[0]

That seems sketchy. How are you supposed to access this value?




Theme © iAndrew 2016 - Forum software by © MyBB