File: index.php

package info (click to toggle)
nagvis 1%3A1.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,268 kB
  • ctags: 1,725
  • sloc: php: 6,560; xml: 1,522; sh: 550; makefile: 84
file content (6 lines) | stat: -rw-r--r-- 358 bytes parent folder | download
1
2
3
4
5
6
<?php
header("Location: ". ((isset($_SERVER["HTTPS"])) ? 'https://': 'http://') . $_SERVER['HTTP_HOST'] 
	. ((isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '80') ? ':'.$_SERVER['SERVER_PORT']: '')
	. rtrim(dirname($_SERVER['PHP_SELF']), '/\\')
    . "/nagvis/index.php".(($_SERVER["QUERY_STRING"] != '') ? '?':'').$_SERVER["QUERY_STRING"]);
?>