Welcome Guest, Not a member yet? Register   Sign In
why CI not define ROOT_PATH
#1

[eluser]vps4[/eluser]
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('FCPATH', __FILE__);
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_folder.'/');

why only these?
#2

[eluser]Sam Dark[/eluser]
You can define ROOT_PATH yourself if you need it.
#3

[eluser]xwero[/eluser]
define('ROOTPATH',dirname(FCPATH));

If you use 1.6.2 you can add this to the constants.php file in the config directory.
#4

[eluser]vps4[/eluser]
thank you for your comments.




Theme © iAndrew 2016 - Forum software by © MyBB