php4 fails at heredoc

git-svn-id: file:///home/shish/svn/shimmie2/trunk@417 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-08-02 17:07:26 +00:00
parent 1c8619d9e9
commit 5d1541efe0

View File

@ -51,9 +51,9 @@ class RSS_Images extends Extension {
$title = $config->get_string('title'); $title = $config->get_string('title');
$base_href = $config->get_string('base_href'); $base_href = $config->get_string('base_href');
$version = $config->get_string('version'); $version = $config->get_string('version');
$xml = <<<EOD $xml = "
<?xml version="1.0" encoding="utf-8" ?> <?xml version=\"1.0\" encoding=\"utf-8\" ?>
<rss version="2.0"> <rss version=\"2.0\">
<channel> <channel>
<title>$title</title> <title>$title</title>
<description>The latest uploads to the image board</description> <description>The latest uploads to the image board</description>
@ -63,7 +63,7 @@ class RSS_Images extends Extension {
$data $data
</channel> </channel>
</rss> </rss>
EOD; ";
$page->set_data($xml); $page->set_data($xml);
} }
// }}} // }}}