From 8911ac8b74cb6cb2acdf09e059b9c900cfde7133 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Mar 2006 06:24:22 +0100 Subject: [PATCH] fix script_dt_add handling --- backend.php | 7 ++++++- functions.php | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/backend.php b/backend.php index df3e7d03..f073dc9a 100644 --- a/backend.php +++ b/backend.php @@ -82,7 +82,6 @@ 10080 => "Weekly"); $script_started = getmicrotime(); - $script_dt_add = get_script_dt_add(); $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); @@ -135,6 +134,8 @@ type=\"text/css\" href=\"tt-rss_compact.css\"/>"; } + $script_dt_add = get_script_dt_add(); + print " @@ -539,6 +540,8 @@ type=\"text/css\" href=\"tt-rss_compact.css\"/>"; } + $script_dt_add = get_script_dt_add(); + print " "; @@ -706,6 +709,8 @@ $rtl_content = false; } + $script_dt_add = get_script_dt_add(); + print " diff --git a/functions.php b/functions.php index d4feaf5d..1d79b993 100644 --- a/functions.php +++ b/functions.php @@ -10,6 +10,7 @@ require_once 'db-prefs.php'; require_once 'compat.php'; require_once 'errors.php'; + require_once 'version.php'; require_once 'magpierss/rss_utils.inc';