Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas

This commit is contained in:
Isaac Connor 2018-11-29 15:54:43 -05:00
commit 5acd8ee1fe
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class Server {
'Protocol' => '',
'Hostname' => '',
'Port' => null,
'PathToIndex' => '/zm',
'PathToIndex' => '/zm/index.php',
'PathToZMS' => ZM_PATH_ZMS,
'PathToApi' => '/zm/api',
'zmaudit' => 1,
@ -110,8 +110,7 @@ class Server {
if ( isset($this->{'PathToIndex'}) and $this->{'PathToIndex'} ) {
return $this->{'PathToIndex'};
}
return '';
//return $_SERVER['PHP_SELF'];
return $_SERVER['PHP_SELF'];
}
public function UrlToIndex( ) {