From 0e31fb0904f6a4151f99731a3f80d262b77434bd Mon Sep 17 00:00:00 2001 From: spaghetti Date: Fri, 16 Dec 2016 02:54:54 -0500 Subject: [PATCH] More static changes --- design/privateheader.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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=&auth=&passkey=&authkey=" title=" - Other Torrents" /> - + href="styles/global.css?v=" /> + + href="styles//style.css?v=" /> - " /> + " /> @@ -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); }