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.cssRefactor-Moyo
parent
518e1eef1a
commit
77ebd6ac3e
|
@ -5,7 +5,7 @@ session_start();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?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"])) {
|
if (isset($_SESSION["user_fullname"])) {
|
||||||
header("Location: Courses.php");
|
header("Location: Courses.php");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue