Dont auto-guess pathPrefix
parent
7ad19be0d7
commit
19f3cce41f
|
@ -95,7 +95,8 @@ class Server {
|
|||
if ( isset($this->{'PathPrefix'}) and $this->{'PathPrefix'} ) {
|
||||
return $this->{'PathPrefix'};
|
||||
}
|
||||
return $_SERVER['PHP_SELF'];
|
||||
return '';
|
||||
//return $_SERVER['PHP_SELF'];
|
||||
}
|
||||
|
||||
public function __call($fn, array $args){
|
||||
|
|
|
@ -48,7 +48,7 @@ var maxDisplayEvents = <?php echo 2 * MAX_EVENTS ?>;
|
|||
var monitorId = <?php echo $monitor->Id() ?>;
|
||||
var monitorWidth = <?php echo $monitor->Width() ?>;
|
||||
var monitorHeight = <?php echo $monitor->Height() ?>;
|
||||
var monitorUrl = '<?php echo $monitor->Url(); ?>';
|
||||
var monitorUrl = '<?php echo $monitor->Url(); ?>/index.php';
|
||||
var monitorType = '<?php echo ( $monitor->Type() ) ?>';
|
||||
var monitorRefresh = '<?php echo ( $monitor->Refresh() ) ?>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue