From ab41c3d0b892e0548064f64d3f8ffcf9e1cf9df3 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 8 Sep 2024 16:17:40 -0400 Subject: [PATCH] fix names --- app/Controllers/Home.php | 8 ++++---- docker/apache/Dockerfile | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index bed53d9..6983784 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -6,16 +6,16 @@ class Home extends BaseController { public function index(): string { - return view('home'); + return view('Home'); } public function about(): string { - return view('about'); + return view('About'); } public function services(): string { - return view('services'); + return view('Services'); } public function contact(): string @@ -30,6 +30,6 @@ class Home extends BaseController } */ - return view('contact'); + return view('Contact'); } } diff --git a/docker/apache/Dockerfile b/docker/apache/Dockerfile index b90fed8..50a2fe7 100644 --- a/docker/apache/Dockerfile +++ b/docker/apache/Dockerfile @@ -4,6 +4,9 @@ FROM php:8.1-apache RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf #RUN apt-get update +# mod_rewrite +RUN a2enmod rewrite + RUN apt-get update && \ apt-get install --yes --force-yes \ cron g++ gettext libicu-dev openssl \