Files
controls-web/lasuca/grower-dashboard.php
2026-02-17 09:29:34 -06:00

13 lines
291 B
PHP

<?php
// phpcs:ignoreFile
require_once __DIR__ . '/grower-session.php';
$requiredGrowerId = isset($_SESSION['growerid']) ? $_SESSION['growerid'] : null;
if ($requiredGrowerId === null) {
header('Location: /grower-login.php');
exit();
}
require __DIR__ . '/growers/dashboard.php';