LinuxMCE Forums
General => Users => Topic started by: aico on April 20, 2011, 04:16:55 pm
-
Hello,
I am playing with Ruby Codes and some strange things happen:
This is the code I try (Extended Editor):
#system("tdtool --on 4")
command = "*1*1*"+device_.devdata_[294]+device_.devdata_[295]+"##"
log("Light On")
conn_.Send(command)
If I hit "update" (Extended Editor) the code looks like this:
#system(\"tdtool --on 4\")
command = \"*1*1*\"+device_.devdata_[294]+device_.devdata_[295]+\"##\"
log(\"Light On\")
conn_.Send(command)
As you can see, there are some \ added...
I use Firefox 3.6.16.
Any ideas?
Regards
Johannes
-
add the following line to /var/www/lmce-admin/.htaccess
php_flag magic_quotes_gpc off
( sudo echo "php_flag magic_quotes_gpc off" >> /var/www/lmce-admin/.htaccess )
This has been fixed in svn and will be available in a future release.
-
Hello Merkur2k
Thank you - that solved the problem!
BR
Johannes