diff --git a/design/privateheader.php b/design/privateheader.php
index d77aace..4070822 100755
--- a/design/privateheader.php
+++ b/design/privateheader.php
@@ -9,7 +9,7 @@ define('FOOTER_FILE', SERVER_ROOT.'/design/privatefooter.php');
=display_str($PageTitle)?>
-
+
@@ -53,13 +53,13 @@ if (isset(G::$LoggedUser['Notify'])) {
href="feeds.php?feed=torrents_other&user==G::$LoggedUser['ID']?>&auth==G::$LoggedUser['RSS_Auth']?>&passkey==G::$LoggedUser['torrent_pass']?>&authkey==G::$LoggedUser['AuthKey']?>"
title="=SITE_NAME?> - Other Torrents" />
-
+ href="=STATIC_SERVER?>styles/global.css?v==filemtime(SERVER_ROOT.STATIC_SERVER.'styles/global.css')?>" />
+
if (empty(G::$LoggedUser['StyleURL'])) {
?>
+ href="=STATIC_SERVER?>styles/=G::$LoggedUser['StyleName']?>/style.css?v==filemtime(SERVER_ROOT.STATIC_SERVER.'styles/'.G::$LoggedUser['StyleName'].'/style.css')?>" />
} else {
$StyleURLInfo = parse_url(G::$LoggedUser['StyleURL']);
@@ -81,7 +81,7 @@ foreach ($ExtraCSS as $CSS) {
continue;
}
?>
- " />
+ " />
}
?>
@@ -96,9 +96,9 @@ foreach ($Scripts as $Script) {
if (trim($Script) == '') {
continue;
}
- if (($ScriptStats = G::$Cache->get_value("script_stats_$Script")) === false || $ScriptStats['mtime'] != filemtime(STATIC_SERVER."functions/$Script.js")) {
- $ScriptStats['mtime'] = filemtime(STATIC_SERVER."functions/$Script.js");
- $ScriptStats['hash'] = base64_encode(hash_file(INTEGRITY_ALGO, STATIC_SERVER."functions/$Script.js", true));
+ if (($ScriptStats = G::$Cache->get_value("script_stats_$Script")) === false || $ScriptStats['mtime'] != filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js")) {
+ $ScriptStats['mtime'] = filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js");
+ $ScriptStats['hash'] = base64_encode(hash_file(INTEGRITY_ALGO, SERVER_ROOT.STATIC_SERVER."functions/$Script.js", true));
$ScriptStats['algo'] = INTEGRITY_ALGO;
G::$Cache->cache_value("script_stats_$Script", $ScriptStats);
}