* Mon May 12 2025 Brian Read <brianr@koozali.org> 11.0.0-1.sme
- Adding SM2 panel [SME: 13004] - Upgrade to phpsysinfo 3.4.4 - Add code to delete inline styles and add css to make it look better. - version saved / built uses the static version, which means no drops downs and choices.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
header("Content-Type: text/plain");
|
||||
header('Content-Type: text/plain');
|
||||
$filemaskarray=array("/etc/*-release",
|
||||
"/etc/*_release",
|
||||
"/etc/*-version",
|
||||
@@ -10,6 +10,7 @@ $filemaskarray=array("/etc/*-release",
|
||||
"/etc/eisfair-system",
|
||||
"/usr/share/doc/tc/release.txt",
|
||||
"/etc/synoinfo.conf",
|
||||
"/etc/config/uLinux.conf",
|
||||
"/etc/salix-update-notifier.conf",
|
||||
"/etc/solydxk/info",
|
||||
"/etc/vortexbox/vortexbox-version",
|
||||
@@ -34,11 +35,14 @@ if (is_resource($fp)) {
|
||||
}
|
||||
|
||||
foreach ($filemaskarray as $filemask) {
|
||||
foreach (glob($filemask) as $filename) {
|
||||
echo "----------".$filename."----------\n";
|
||||
echo $contents=file_get_contents($filename);
|
||||
if ((strlen($contents)>0)&&(substr($contents, -1)!="\n")) {
|
||||
echo "\n";
|
||||
$filenames = glob($filemask);
|
||||
if (is_array($filenames)) foreach ($filenames as $filename) {
|
||||
if (!is_dir($filename)) {
|
||||
echo "----------".$filename."----------\n";
|
||||
echo $contents=file_get_contents($filename);
|
||||
if ((strlen($contents)>0)&&(substr($contents, -1)!="\n")) {
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user