andrew21-mch / php-blog-zuri

5 stars 10 forks source link

Optimisation #5

Closed Omojole closed 1 year ago

Omojole commented 1 year ago

Hello,i made a few changes to the blog webpages by 1)Optimising the dashboard page to only work when there is a session with username 2)Added a redirect to the login page when the username or password inputed in the login page is not correct. 3)corrected the path to linking the connection.php in the Blog.php as the one used wasn't functioning. 4)I also made the sure the session on the dashboard starts only once by deleting the repitition on the dashboard page.

pls review the codes on myworks branch of my repository and if you find it credible enough,please merge with the your repository