• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

getting a \ instead of a /

tripflex

Chevereto Noob
So the upload and everything works for me, but whenever it spits out the links for the image, i keep getting this:

http://www.mysite.com\images/102020efe.png

instead of

http://www.mysite.com/images/102020efe.png


Now i know it will still work, but i would like everything to look correctly too. Does anybody know why this might be happening? I tried looking through the code but not really sure where the problem might be.

I'm running php 5, windows server 2008, using IIS 7.0, and i am using the latest build as of 10/28/09

Thanks!
 
Figured out the problem...

in config.php there is a line that gets the "path"

$path = dirname($_SERVER['PHP_SELF']);


I had this echo out and it was giving me the \ for the path. All i did was comment out the code above, and set $path to what it should be

#$path = dirname($_SERVER['PHP_SELF']);
$path = "/";
 
Back
Top