mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-23 05:48:42 +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\Rest;
|
||||
use phpOMS\Uri\Http;
|
||||
use phpOMS\Uri\HttpUri;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
|
|
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
\md5(
|
||||
Rest::request(
|
||||
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()
|
||||
)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ use phpOMS\Message\Http\Rest;
|
|||
use phpOMS\Security\PhpCode;
|
||||
use phpOMS\System\File\Local\Directory;
|
||||
use phpOMS\System\File\Local\File;
|
||||
use phpOMS\Uri\Http;
|
||||
use phpOMS\Uri\HttpUri;
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
$content,
|
||||
Rest::request(
|
||||
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()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
|
|
@ -84,7 +84,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
$content,
|
||||
Rest::request(
|
||||
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()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
|
|
@ -103,7 +103,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
$content,
|
||||
Rest::request(
|
||||
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()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user