-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrss.php
More file actions
31 lines (24 loc) · 661 Bytes
/
Copy pathrss.php
File metadata and controls
31 lines (24 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
include('inc/config/config.php');
include('inc/class/SQLSession.php');
include('inc/class/PasskeyAuth.php');
include('inc/class/BoxeeRSSFeedItem.php');
include('inc/class/BoxeeRSSFeeder.php');
$auth = new PasskeyAuth();
if(isset($_GET['passkey']))
{
if(!$auth->verifyPasskey($_GET['passkey']))
{
return;
}
}
else
{
return;
}
$_GET['desc'] != "" ? $desc = $_GET['desc'] : $desc = "TV RSS Feed";
$feed = new BoxeeRSSFeeder($feedTitle, $desc, $feedHomepage, $feedImage);
$_GET['ext'] != "" ? $ext = $_GET['ext'] : $ext="avi";
$feed->loadFromDir($baseFolder, $ext);
$feed->outputRss();
?>