]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix script_dt_add handling
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 31 Mar 2006 05:24:22 +0000 (06:24 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 31 Mar 2006 05:24:22 +0000 (06:24 +0100)
backend.php
functions.php

index df3e7d036104e98599663a7a73a2c583819976e2..f073dc9a3dacb073e6d5be547ecb8ea18dcac2ae 100644 (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); 
 
                                        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\">
                                        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>";
                        $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>
index d4feaf5d686efd8e3d9dec63dd67e8ba1f2ce38f..1d79b9938798f35ed99bcde92ddbfad5a26cc07d 100644 (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';