Environmant fix

This commit is contained in:
CHIEFSOFT\ameye
2026-01-04 07:51:30 -05:00
parent 9d360a74ad
commit 9723a18a35
6 changed files with 11 additions and 7 deletions
+5 -2
View File
@@ -7,7 +7,10 @@ class Home extends BaseController
public function index(): string
{
$data["config_name"] = $_ENV['CONFIG_NAME'];
/// return view('welcome_message',$data);
return view('live_welcome_message',$data);
if ($_ENV['CI_ENV'] === 'production') {
return view('live_welcome_message', $data);
} else {
return view('welcome_message', $data);
}
}
}