Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Path error running on windows
Hi all, I’m not sure about the correct place to post this report. If it’s wrong, please move it :)
While running textpattern on windows I had some problems with the images path, badly built into the administration panel (contents -> images). The problem is about the slash, in example C:\path\images/12.png instead of C:\path\images\12.png.
I fixed it changing line 22 (include/txp_image.php) from
define("IMPATH",$path_to_site.'/'.$img_dir.'/');
to
define("IMPATH",$path_to_site.DIRECTORY_SEPARATOR.$img_dir.'/');
However TextPattern is a really good CMS, good work!
PS: I apologise for my english
Gr3yFox
Offline
#2 2007-07-08 23:30:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Path error running on windows
Thanks. r2476.
Offline
Re: Path error running on windows
That’s nothing. Thanks to you for the work! ;)
Gr3yFox
Offline
Pages: 1