Files
scripts/Perl Ubiquiti mpower steuerung/control center/Test/func.php
2024-10-14 00:08:40 +02:00

14 lines
220 B
PHP

<?php
function load($path)
{
return require $path;
}
function save($path, $array)
{
$content = '<?php' . PHP_EOL . 'return ' . var_export($array, true) . ';';
return is_numeric(file_put_contents($path, $content));
}