php-hotfix/examples/php-facts.fix

11 lines
341 B
Plaintext

hotfix: This hotfix show how to use facts in php
info: >
This lets you retrieve some additional system information during
runtime. Use 'hotfix facts' to see all the known facts.
author: Noccy <cvagnetoft@gmail.com>
lang: php
---
echo "Architecture: ".fact('system.arch')."\n";
echo "Distribution: ".fact('lsb.id')."\n";