mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-17 09:38:41 +00:00
Implement changed rest usage
This commit is contained in:
parent
185e3a0491
commit
b8e097dc2b
|
|
@ -39,7 +39,16 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $file; ?>
|
||||
<td><?= \phpOMS\Security\PhpCode::hasUnicode($source); ?>
|
||||
<td><?= \phpOMS\Security\PhpCode::hasDeprecatedFunction($source); ?>
|
||||
<td><?= \phpOMS\Security\PhpCode::validateFileIntegrity($file, \md5(Rest::request(new Request(new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php'))))); ?>
|
||||
<td><?= \phpOMS\Security\PhpCode::validateFileIntegrity(
|
||||
$file,
|
||||
\md5(
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/Account/Account.php')
|
||||
)
|
||||
)->getBody()
|
||||
)
|
||||
); ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
||||
)
|
||||
)
|
||||
)->getBody()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
|
|
@ -84,7 +84,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
||||
)
|
||||
)
|
||||
)->getBody()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
|
|
@ -103,7 +103,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
||||
)
|
||||
)
|
||||
)->getBody()
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user