fix RSS #48
This commit is contained in:
parent
e11af5e59c
commit
cdac1db064
2 changed files with 3 additions and 2 deletions
2
rss.php
2
rss.php
|
@ -155,7 +155,7 @@ echo "<description>$description</description>\n";
|
||||||
for ($i=0; $i < $nb_items_rss && $i < count($content); $i++) {
|
for ($i=0; $i < $nb_items_rss && $i < count($content); $i++) {
|
||||||
if (empty($content[$i]))
|
if (empty($content[$i]))
|
||||||
continue;
|
continue;
|
||||||
$link = $gallery_link . '/' . $content[$i];
|
$link = $gallery_link . '/' . str_replace(' ', '%20', $content[$i]);
|
||||||
echo "<item>\n";
|
echo "<item>\n";
|
||||||
echo " <title>" . basename($link) . "</title>\n";
|
echo " <title>" . basename($link) . "</title>\n";
|
||||||
echo " <link>". $link . "</link>\n";
|
echo " <link>". $link . "</link>\n";
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
$gd = "No";
|
$gd = "No";
|
||||||
if (function_exists('exif_read_data')) $exif = "Yes";
|
if (function_exists('exif_read_data')) $exif = "Yes";
|
||||||
if (extension_loaded('gd') && function_exists('gd_info')) $gd = "Yes";
|
if (extension_loaded('gd') && function_exists('gd_info')) $gd = "Yes";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>MiniBoardNano system check</h1>
|
<h1>MiniGal Nano system check</h1>
|
||||||
<div class="left">
|
<div class="left">
|
||||||
PHP Version
|
PHP Version
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue