fix script_dt_add handling

This commit is contained in:
Andrew Dolgov 2006-03-31 06:24:22 +01:00
parent af106b0ebe
commit 8911ac8b74
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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';