1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-29 23:14:55 +01:00
2025-01-14 16:06:53 +01:00

15 lines
228 B
PHP

<?php
include __DIR__.'/../config.inc.php';
$directory = 'files/fatture/';
$files = glob($directory.'*.');
foreach ($files as $file) {
$newFilename = str_replace('.', '.xml', $file);
rename($file, $newFilename);
}