This repository has been archived on 2021-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
TaxRatesAdjustment/bin/raiseTaxRate

15 lines
299 B
Plaintext
Raw Permalink Normal View History

2020-06-05 13:38:40 +02:00
#!/usr/bin/env php
<?php
2020-06-05 14:18:24 +02:00
$filePath = '../bootstrap.php';
2020-06-05 13:38:40 +02:00
$currentDirectory = __DIR__ . '/';
$filePath = $currentDirectory . $filePath;
require($filePath);
2020-06-05 14:18:24 +02:00
$change = new \D3\TaxRatesAdjustment\Models\raiseTaxRate();
2020-06-05 13:38:40 +02:00
try {
$change->run();
} catch ( \Exception $e) {
echo $e->getMessage();
}