mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
24 lines
383 B
PHP
24 lines
383 B
PHP
<?php
|
|
|
|
require(dirname(__FILE__)."/config.php");
|
|
require(WWW_DIR.'/lib/site.php');
|
|
require('lib/tvrage.php');
|
|
|
|
$s = new Sites();
|
|
$site = $s->get();
|
|
|
|
if ( $site->lookuptvrage == 1)
|
|
{
|
|
$tvrage = new TVRage(true);
|
|
$tvrage->processTvReleases(($site->lookuptvrage==1));
|
|
}
|
|
|
|
if ( $site->lookupthetvdb == 1)
|
|
{
|
|
$thetvdb = new TheTVDB(true);
|
|
$thetvdb->processReleases();
|
|
}
|
|
|
|
?>
|
|
|