Welcome Guest, Not a member yet? Register   Sign In
getting application path
#1

[eluser]introvert[/eluser]
Hello,

What is the easiest way to get CI application path, without need to set it manually in the configuration or code?

BASEPATH variable will return system pat.

Thanks for help
#2

[eluser]nil_php[/eluser]
use getcwd() function.
#3

[eluser]InsiteFX[/eluser]
Constants
APPPATH = application directory path
SYSDIR = system directory path

Look at index.php

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB