Welcome Guest, Not a member yet? Register   Sign In
Problem with BASEPATH
#1

[eluser]shinokada[/eluser]
I am using XAMPP and I have a problem with BASEPATH.

When I use the following in a view file,

Code:
<?= 'Basepath: ' . BASEPATH ?>

I get this one.

Code:
Basepath: C:\xampp\htdocs\ci_day6/system/


I assume it should be like this but I am not sure.

Code:
Basepath: C:\xampp\htdocs\ci_day6\system\


Can anyone guide me how to fix this problem please?
#2

[eluser]InsiteFX[/eluser]
Try this

Code:
<?php echo "Basepath = " . BASEPATH; ?>

You can also do a search in the forums here, this has been answered lots of times, also check out the wiki.

Enjoy
InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB