summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-31 06:24:22 +0100
committerAndrew Dolgov <[email protected]>2006-03-31 06:24:22 +0100
commit8911ac8b74cb6cb2acdf09e059b9c900cfde7133 (patch)
tree51574d5ba8c36d772b19a4c9f8262717839b7195
parentaf106b0ebe0b34189a83bbfb64e9c9ace044a273 (diff)
fix script_dt_add handling
-rw-r--r--backend.php7
-rw-r--r--functions.php1
2 files changed, 7 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index df3e7d036..f073dc9a3 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 "<script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
<script type=\"text/javascript\" src=\"feedlist.js?$script_dt_add\"></script>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
@@ -539,6 +540,8 @@
type=\"text/css\" href=\"tt-rss_compact.css\"/>";
}
+ $script_dt_add = get_script_dt_add();
+
print "<script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
</head><body $rtl_tag>";
@@ -706,6 +709,8 @@
$rtl_content = false;
}
+ $script_dt_add = get_script_dt_add();
+
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
<script type=\"text/javascript\" src=\"viewfeed.js?$script_dt_add\"></script>
diff --git a/functions.php b/functions.php
index d4feaf5d6..1d79b9938 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';