Bug 37 has been fixed for the index page as this page is now optimized and dynamic CSS has been used

Applying DRY principles and better coding practices to index.php

Separating the CSS and applying DRY principles to the CSS in index.php so that they are all in main.css
Refactor-Moyo
MOYO NKOSANA THABO 2022-12-19 14:15:40 +08:00
parent 518e1eef1a
commit 77ebd6ac3e
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ session_start();
?>
<?php
// if the user has already logged in, then clicking the LRRS icon should not display the login page (i.e., index.php).
// if the user has already logged in, then clicking the LRR icon should not display the login page (i.e., index.php).
if (isset($_SESSION["user_fullname"])) {
header("Location: Courses.php");
}