Skip to content

Commit

Permalink
fixes access to genomics-status.scilifelab.se
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Moreno committed Aug 4, 2014
1 parent 10cb5dc commit d53dbd5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Application/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php
$appname=explode('/', $_SERVER['REQUEST_URI']);
$location="http://".$_SERVER['HTTP_HOST']."/".$appname[1]."/dashboard_all.php?ptype=Application";
if($_SERVER['REQUEST_URI']!='/Application/'){
$appname=explode('/', $_SERVER['REQUEST_URI']);
$location="http://".$_SERVER['HTTP_HOST']."/".$appname[1]."/dashboard_all.php?ptype=Application";
}else{
$location="http://".$_SERVER['HTTP_HOST']."/dashboard_all.php?ptype=Application";
}
header("Location: ".$location);

?>
Expand Down

0 comments on commit d53dbd5

Please sign in to comment.