diff --git a/www/admin/release-files.php b/www/admin/release-files.php
index 67c8884e6..d4c4f3f07 100644
--- a/www/admin/release-files.php
+++ b/www/admin/release-files.php
@@ -16,7 +16,7 @@ if (isset($_GET["id"]))
if (!$rel)
$page->show404();
- $nzbpath = $nzb->getNZBPath($_GET["id"], $page->site->nzbpath);
+ $nzbpath = $nzb->getNZBPath($_GET["id"], $page->settings->getSetting('nzbpath'));
if (!file_exists($nzbpath))
$page->show404();
diff --git a/www/admin/site-debug.php b/www/admin/site-debug.php
index c3be70921..34bde2d43 100644
--- a/www/admin/site-debug.php
+++ b/www/admin/site-debug.php
@@ -4,7 +4,7 @@ require_once("config.php");
$page = new AdminPage();
-$s = $page->site;
+$s = $page->settings;
unset($s->siteseed);
unset($s->amazonprivkey);
unset($s->tmdbkey);
diff --git a/www/templates/nntmux/views/frontend/profile.tpl b/www/templates/nntmux/views/frontend/profile.tpl
index c83c16aa3..4950c917f 100644
--- a/www/templates/nntmux/views/frontend/profile.tpl
+++ b/www/templates/nntmux/views/frontend/profile.tpl
@@ -60,7 +60,7 @@
{if $isadmin || !$publicview}
| Excluded Categories: | {$exccats|replace:",":" "} |
{/if}
- {if $page->site->sabintegrationtype == 2 && $user.id==$userdata.id}
+ {if $page->settings->getSetting('sabintegrationtype') == 2 && $user.id==$userdata.id}
| SABnzbd Integration: |
Url: {if $saburl == ''}N/A{else}{$saburl}{/if}
diff --git a/www/templates/nntmux/views/frontend/profileedit.tpl b/www/templates/nntmux/views/frontend/profileedit.tpl
index 5bb1ab0b3..a17269665 100644
--- a/www/templates/nntmux/views/frontend/profileedit.tpl
+++ b/www/templates/nntmux/views/frontend/profileedit.tpl
@@ -42,7 +42,7 @@
- {if $page->site->sabintegrationtype != 1}
+ {if $page->settings->getSetting('sabintegrationtype') != 1}
{/if}
- {if $user.queuetype == 2 && ($page->site->sabintegrationtype == 0 || $page->site->sabintegrationtype == 2)}
+ {if $user.queuetype == 2 && ($page->settings->getSetting('sabintegrationtype') == 0 || $page->settings->getSetting('sabintegrationtype') == 2)}
{/if}
- {if $user.queuetype == 1 && $page->site->sabintegrationtype == 2}
+ {if $user.queuetype == 1 && $page->settings->getSetting('sabintegrationtype') == 2}
|
|---|