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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.