• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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