mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-12 15:28:40 +00:00
rename http to httpuri
This commit is contained in:
parent
766428eff5
commit
fbcf86d2c7
|
|
@ -15,7 +15,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Message\Http\HttpRequest;
|
use phpOMS\Message\Http\HttpRequest;
|
||||||
use phpOMS\Message\Http\Rest;
|
use phpOMS\Message\Http\Rest;
|
||||||
use phpOMS\Uri\Http;
|
use phpOMS\Uri\HttpUri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
|
|
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
\md5(
|
\md5(
|
||||||
Rest::request(
|
Rest::request(
|
||||||
new HttpRequest(
|
new HttpRequest(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php')
|
new HttpUri('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php')
|
||||||
)
|
)
|
||||||
)->getBody()
|
)->getBody()
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ use phpOMS\Message\Http\Rest;
|
||||||
use phpOMS\Security\PhpCode;
|
use phpOMS\Security\PhpCode;
|
||||||
use phpOMS\System\File\Local\Directory;
|
use phpOMS\System\File\Local\Directory;
|
||||||
use phpOMS\System\File\Local\File;
|
use phpOMS\System\File\Local\File;
|
||||||
use phpOMS\Uri\Http;
|
use phpOMS\Uri\HttpUri;
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
$content,
|
$content,
|
||||||
Rest::request(
|
Rest::request(
|
||||||
new HttpRequest(
|
new HttpRequest(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
new HttpUri('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
||||||
)
|
)
|
||||||
)->getBody()
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
|
|
@ -84,7 +84,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
$content,
|
$content,
|
||||||
Rest::request(
|
Rest::request(
|
||||||
new HttpRequest(
|
new HttpRequest(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
new HttpUri('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
||||||
)
|
)
|
||||||
)->getBody()
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
|
|
@ -103,7 +103,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
$content,
|
$content,
|
||||||
Rest::request(
|
Rest::request(
|
||||||
new HttpRequest(
|
new HttpRequest(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
new HttpUri('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
||||||
)
|
)
|
||||||
)->getBody()
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user