diff --git a/core/function.php b/core/function.php index 76782a5..771242c 100755 --- a/core/function.php +++ b/core/function.php @@ -470,12 +470,12 @@ function get_levels () { function view_top () { global $CONF, $UTENTE; - include_once ($_SERVER["CONTEXT_DOCUMENT_ROOT"].$CONF['base_url']."/core/top.php"); + include_once ($_SERVER["DOCUMENT_ROOT"].$CONF['base_url']."/core/top.php"); } function view_footer () { global $CONF, $UTENTE; - include_once ($_SERVER["CONTEXT_DOCUMENT_ROOT"].$CONF['base_url']."/core/footer.php"); + include_once ($_SERVER["DOCUMENT_ROOT"].$CONF['base_url']."/core/footer.php"); } function byteConvert($bytes) { diff --git a/proxy/.graph.php.swp b/proxy/.graph.php.swp new file mode 100644 index 0000000..d12bc58 Binary files /dev/null and b/proxy/.graph.php.swp differ diff --git a/proxy/graph.php b/proxy/graph.php index 21a4bde..4769774 100644 --- a/proxy/graph.php +++ b/proxy/graph.php @@ -19,7 +19,7 @@ switch ($tempo) { $gruppo = "HOUR"; $format1 = "%m%d%H"; $format2 = "%H"; - $limit = 24; + $limit = 23; break; case 'WEEK': $gruppo = "DAY";