force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
22
ControlPanel/modules/editconfigfiles/functions.php
Executable file
22
ControlPanel/modules/editconfigfiles/functions.php
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
function getFilesInXML($files)
|
||||
{
|
||||
$values = array();
|
||||
|
||||
if (isset($files->file)) {
|
||||
foreach ($files->file as $file) {
|
||||
if ((string)$file == false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$values[] = array(
|
||||
'name' => (string)$file,
|
||||
'description' => $file['description'],
|
||||
'path' => (string)$file
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return $values;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue