root/trunk/admin/export-rss2.php

Revision 1707, 433 bytes (checked in by jeena, 10 months ago)

changed require prepend.inc.php instead setting.inc.php

Line 
1<?php
2 include_once('.'.DIRECTORY_SEPARATOR.'auth.php');
3 define("JLOG_ADMIN", true);
4 define("JLOG_EXPORT_RSS2", true);
5 require_once('..'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'prepend.inc.php');
6 require('..'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'update.php');
7 
8 header('Content-type: application/xml');
9 header('Content-Disposition: attachment; filename="jlog-rss2.xml"');
10
11 echo $data['rss_full'];
12
13?>
Note: See TracBrowser for help on using the browser.