absolute Path for pictures

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
klausing
Posts: 89
Joined: Fri Oct 14, 2005 11:46 am

absolute Path for pictures

Post by klausing » Tue Jun 13, 2006 7:04 am

I have my Faq in Path http:// www. XYZ/a/b/c and it works great.
Now i have a new domain and i want to set this Domain directly to the directory /c. But now i have a problem. All pictures cant displayed because the FAQ use a relative path and not an absolut path.
Is it possible to change this that the FAQ use the absolut path for pictures?

Thorsten
Posts: 15134
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Tue Jun 13, 2006 7:54 am

Hi,

if you use MySQL you can use the REPLACE() function to change that.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

klausing
Posts: 89
Joined: Fri Oct 14, 2005 11:46 am

Post by klausing » Tue Jun 13, 2006 10:06 am

OK this is one way but i want to have the complete path if i create an entry.

Thorsten
Posts: 15134
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten » Tue Jun 13, 2006 11:28 am

Hi,

maybe this is possible with the 2.0 version...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply