TinyPortal

Development => Support => Topic started by: slvreagl on August 23, 2010, 08:58:46 PM

Title: backslash quote \" error
Post by: slvreagl on August 23, 2010, 08:58:46 PM
ello team,
I have a weird problem with my php block code in Tiny Portal, When I insert the code


global $sourcedir;
include("$sourcedir/DonationBlock.php");


into a new php box of Tiny Portal and save the box the code I just saved turns into this,
Code:

global $sourcedir;
include(\"$sourcedir/DonationBlock.php\");


and if I push the save button again I get this,
Code:

global $sourcedir;
include(\\\"$sourcedir/DonationBlock.php\\\");


This also happens when I try to use html in a article....

before
<img src="http://i266.photobucket.com/albums/ii252/muddtyazz/Yorl%20Install/IMAG0004.jpg">
after
<img src=\"http://i266.photobucket.com/albums/ii252/muddtyazz/Yorl%20Install/IMAG0004.jpg\">




SMF 1.1.11
TinyPortal v1.0 beta5
custom default theme
Firefox
tons of mods installed :)

Title: Re: backslash quote \" error
Post by: IchBin on August 23, 2010, 10:30:38 PM
That should be fixed if you update to the latest TP 1 beta 5.2.