Environmant fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user