mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-29 23:53:17 +02:00
Escrow filename changes
This commit is contained in:
parent
fdb8b52378
commit
00771f7706
1 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($tlds as $tld) {
|
foreach ($tlds as $tld) {
|
||||||
$tldname = strtoupper(ltrim($tld['tld'], '.'));
|
$tldname = ltrim($tld['tld'], '.');
|
||||||
$endOfPreviousDay = date('Y-m-d 23:59:59', strtotime('-1 day'));
|
$endOfPreviousDay = date('Y-m-d 23:59:59', strtotime('-1 day'));
|
||||||
|
|
||||||
// Skip subdomains
|
// Skip subdomains
|
||||||
|
@ -438,7 +438,7 @@ try {
|
||||||
$deposit = $xml->outputMemory();
|
$deposit = $xml->outputMemory();
|
||||||
|
|
||||||
// Define the base name without the extension
|
// Define the base name without the extension
|
||||||
$baseFileName = "{$tldname}_".date('Y-m-d')."_full_S1_R{$finalDepositId}";
|
$baseFileName = "{$tldname}_".date('Ymd')."_full_S1_R{$finalDepositId}";
|
||||||
|
|
||||||
// XML, tar, and gzip filenames
|
// XML, tar, and gzip filenames
|
||||||
$xmlFileName = $baseFileName . ".xml";
|
$xmlFileName = $baseFileName . ".xml";
|
||||||
|
@ -606,7 +606,7 @@ try {
|
||||||
$reps = $reportXML->outputMemory();
|
$reps = $reportXML->outputMemory();
|
||||||
|
|
||||||
// Save the report file
|
// Save the report file
|
||||||
$reportFilePath = $c['escrow_deposit_path']."/{$tldname}_".date('Y-m-d')."_full_R{$finalDepositId}.rep";
|
$reportFilePath = $c['escrow_deposit_path']."/{$tldname}_".date('Ymd')."_full_R{$finalDepositId}.rep";
|
||||||
file_put_contents($reportFilePath, $reps, LOCK_EX);
|
file_put_contents($reportFilePath, $reps, LOCK_EX);
|
||||||
|
|
||||||
$dayOfWeekToRunBRDA = $c['escrow_BRDAday'];
|
$dayOfWeekToRunBRDA = $c['escrow_BRDAday'];
|
||||||
|
@ -826,7 +826,7 @@ try {
|
||||||
$deposit = $xml->outputMemory();
|
$deposit = $xml->outputMemory();
|
||||||
|
|
||||||
// Define the base name without the extension
|
// Define the base name without the extension
|
||||||
$baseFileNameBrda = "{$tldname}_".date('Y-m-d')."_brda_S1_R{$finalDepositId}";
|
$baseFileNameBrda = "{$tldname}_".date('Ymd')."_brda_S1_R{$finalDepositId}";
|
||||||
|
|
||||||
// XML, tar, and gzip filenames
|
// XML, tar, and gzip filenames
|
||||||
$xmlFileName = $baseFileNameBrda . ".xml";
|
$xmlFileName = $baseFileNameBrda . ".xml";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue