/photos/album.php |
---|
35,6 → 35,10 |
$page->redirect('index.php'); |
} |
while (strpos($dirName, '../') !== false) { |
$dirName = str_replace("../", "/", $dirName); |
} |
$page->drawHeader(); |
write('<br /><h3>RSS</h3>'); |
$page->drawMenuItem('RSS Feed', 'photos/rss.php?dir=' . $dirName); |
/photos/rss.php |
---|
12,6 → 12,10 |
$dirName = "Lassitor"; |
} |
while (strpos($dirName, '../') !== false) { |
$dirName = str_replace("../", "/", $dirName); |
} |
write('<?xml version="1.0" encoding="UTF-8" ?>'); |
write('<rss version="2.0">'); |
write('<channel>'); |