mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-02-14 00:08:40 +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><?= $file; ?>
|
||||||
<td><?= \phpOMS\Security\PhpCode::hasUnicode($source); ?>
|
<td><?= \phpOMS\Security\PhpCode::hasUnicode($source); ?>
|
||||||
<td><?= \phpOMS\Security\PhpCode::hasDeprecatedFunction($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; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
new Request(
|
new Request(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
||||||
)
|
)
|
||||||
)
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -84,7 +84,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
new Request(
|
new Request(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
||||||
)
|
)
|
||||||
)
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -103,7 +103,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
new Request(
|
new Request(
|
||||||
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
||||||
)
|
)
|
||||||
)
|
)->getBody()
|
||||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user