diff --git a/create_startup.php b/create_startup.php index bad0c11..7f9fe4f 100644 --- a/create_startup.php +++ b/create_startup.php @@ -3,7 +3,7 @@ session_start(); require_once 'db/config.php'; require_once 'ai/LocalAIApi.php'; -if (!isset($_SESSION['user_id']) || $_SESSION['user_role'] !== 'founder') { +if (!isset($_SESSION['user_id']) || $_SESSION['role'] !== 'founder') { header('Location: login.php'); exit; } diff --git a/dashboard.php b/dashboard.php index a15acd9..63a5f5c 100644 --- a/dashboard.php +++ b/dashboard.php @@ -124,7 +124,7 @@ function number_get_formatted($num) { My Startups Find Partners - Browse StartupsFunding Rounds + Founding Rounds Portfolio Discovery Hub @@ -212,14 +212,14 @@ function number_get_formatted($num) {