attept 2 at site fix
This commit is contained in:
parent
60bcc67056
commit
cc7bbafb63
23 changed files with 360 additions and 75 deletions
|
|
@ -3,7 +3,7 @@ declare(strict_types=1);
|
|||
require_once __DIR__ . '/includes/bootstrap.php';
|
||||
website_require_staff();
|
||||
$ran = false; $errors = [];
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (website_request_method() === 'POST') {
|
||||
if (website_verify_csrf()) { $errors = website_run_billing_migrations(); $ran = true; }
|
||||
else { $errors = ['Invalid CSRF token.']; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue