11 lines
298 B
PHP
11 lines
298 B
PHP
<?php
|
|
// Redirect to new unified EÜR page
|
|
require_once __DIR__ . '/../src/config.php';
|
|
|
|
// Extract year from old date params for backwards compatibility
|
|
$from = $_GET['from'] ?? date('Y-01-01');
|
|
$year = date('Y', strtotime($from));
|
|
|
|
header('Location: ' . url_for('euer.php?year=' . $year));
|
|
exit;
|