aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r--inc/html.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 478045c..b07be8a 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -87,6 +87,17 @@ EOT;
87<script type="text/javascript" src="{$CONFIG['weburl']}js/CGP.js"></script> 87<script type="text/javascript" src="{$CONFIG['weburl']}js/CGP.js"></script>
88 88
89EOT; 89EOT;
90 if ($CONFIG['rrd_fetch_method'] == 'async') {
91 echo <<<EOT
92<script type="text/javascript" src="{$CONFIG['weburl']}js/CGP-async.js"></script>
93
94EOT;
95 } else {
96 echo <<<EOT
97<script type="text/javascript" src="{$CONFIG['weburl']}js/CGP-sync.js"></script>
98
99EOT;
100 }
90 } 101 }
91 102
92echo <<<EOT 103echo <<<EOT