Increase granularity of backup name

This commit is contained in:
steve-lad 2021-07-30 10:36:38 +02:00
parent 97c1f6d5d4
commit 40cace04e4
2 changed files with 2 additions and 2 deletions

View file

@ -791,7 +791,7 @@ function createBackUpConfig()
outn("<font color='red'>PHPx.x-zip not installed where x.x is the installed PHP version. Install it before continuing !</font>"); outn("<font color='red'>PHPx.x-zip not installed where x.x is the installed PHP version. Install it before continuing !</font>");
die_freepbx(); die_freepbx();
} }
$filename = $dir . "/sccp_install_backup" . date("Ymd"). ".zip"; $filename = $dir . "/sccp_install_backup" . date("Ymdhis"). ".zip";
if ($zip->open($filename, \ZIPARCHIVE::CREATE)) { if ($zip->open($filename, \ZIPARCHIVE::CREATE)) {
foreach ($backup_files as $file) { foreach ($backup_files as $file) {
foreach ($backup_ext as $b_ext) { foreach ($backup_ext as $b_ext) {

View file

@ -1,7 +1,7 @@
<module> <module>
<rawname>sccp_manager</rawname> <rawname>sccp_manager</rawname>
<name>SCCP Manager</name> <name>SCCP Manager</name>
<version>14.3.0.0</version> <version>14.3.0.1</version>
<type>setup</type> <type>setup</type>
<category>SCCP Connectivity</category> <category>SCCP Connectivity</category>
<publisher>Steve Lad, Alex GP</publisher> <publisher>Steve Lad, Alex GP</publisher>