Files
Investidor-V2/tools/territorial-activation-backup.php
T

8 lines
477 B
PHP

<?php
// Reuse the existing read-only active backup and isolated restore procedure.
require __DIR__.'/desk-activation-backup.php';
$proof = json_decode(file_get_contents(dirname(__DIR__).'/storage/app/private/virtual-desk/backup-proof.json'), true, 512, JSON_THROW_ON_ERROR);
$proof['reversal_verified'] = false;
file_put_contents(dirname(__DIR__).'/storage/app/private/investmoz-v2/territory-backup-proof.json', json_encode($proof, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR));