Welcome Guest, Not a member yet? Register   Sign In
set_realpath returns trailing '/'
#1

[eluser]Unknown[/eluser]
New to web programming I was trying to find a way to have assets stored above web root and in my noobiness I was trying a few things out and I fell over this...

Code:
echo set_realpath('assets/js/jquery-latest.js');

returned - C:\xampp\htdocs\assets\js\jquery-latest.js/

Why the trailing '/'?

CI V2.1.0




Theme © iAndrew 2016 - Forum software by © MyBB