Phase 3: Update remaining code references (classes, constants, functions)
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
4b771d498f
commit
d692485a08
188 changed files with 338 additions and 338 deletions
6
themes/AdminLTE/dist/php/theme.class.php
vendored
6
themes/AdminLTE/dist/php/theme.class.php
vendored
|
|
@ -84,7 +84,7 @@ class Theme
|
|||
$firstRemoteServer = $this->getOGPServers();
|
||||
if($firstRemoteServer)
|
||||
{
|
||||
$remote = new OGPRemoteLibrary($firstRemoteServer[0]['agent_ip'], $firstRemoteServer[0]['agent_port'], $firstRemoteServer[0]['encryption_key'], $firstRemoteServer[0]['timeout']);
|
||||
$remote = new GSPRemoteLibrary($firstRemoteServer[0]['agent_ip'], $firstRemoteServer[0]['agent_port'], $firstRemoteServer[0]['encryption_key'], $firstRemoteServer[0]['timeout']);
|
||||
if($remote->status_chk() != 1)
|
||||
{
|
||||
return false;
|
||||
|
|
@ -238,8 +238,8 @@ class Theme
|
|||
foreach($serverHomes AS $key => $shData)
|
||||
{
|
||||
// check if the screen running the server is running.
|
||||
$remote = new OGPRemoteLibrary($shData['agent_ip'], $shData['agent_port'], $shData['encryption_key'], $shData['timeout']);
|
||||
if( $remote->is_screen_running(OGP_SCREEN_TYPE_HOME, $shData['home_id']))
|
||||
$remote = new GSPRemoteLibrary($shData['agent_ip'], $shData['agent_port'], $shData['encryption_key'], $shData['timeout']);
|
||||
if( $remote->is_screen_running(GSP_SCREEN_TYPE_HOME, $shData['home_id']))
|
||||
{
|
||||
$queryData = $this->getProtocolAndQuery($serverHomes[$key]);
|
||||
$serverHomes[$key]['qProtocol'] = $queryData['qProtocol'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue