1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 07:17:55 +01:00
2025-02-10 09:24:44 +01:00

14 lines
227 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);
}