diff --git a/app/Controllers/BaseController.php b/app/Controllers/BaseController.php index 812be8b8..f9eba771 100644 --- a/app/Controllers/BaseController.php +++ b/app/Controllers/BaseController.php @@ -74,8 +74,8 @@ abstract class BaseController extends Controller $data['loggedin_person'] = $session_uname; $data['loggedin_person_id'] = $session_uid; $data['loggedin_person_role'] = $details[0]['role']; - $data['favicon'] = $details[0]['favicon']; - $data['profile_picture'] = $details[0]['profile_picture']; + $data['favicon'] = file_exists(base_url()."public/uploads/".$details[0]['favicon']) ? base_url()."public/uploads/".$details[0]['favicon'] : base_url()."public/uploads/default.ico"; + $data['profile_picture'] = file_exists(base_url()."public/uploads/".$details[0]['profile_picture']) ? base_url()."public/uploads/".$details[0]['profile_picture'] : base_url()."public/assets/images/users/avatar-9.jpg"; $data['browser_title'] = $data['company_name'] . ' | ' . $data['company_short_name'] . ' ' . $data['page_name']; $data['heading'] = $data['page_name'] == "Dashboard" ? 'Welcome to ' . $data['company_name'] : ""; echo view('template/header.php', $data); diff --git a/app/Views/auth_confirm_mail.php b/app/Views/auth_confirm_mail.php index af6a618c..e36eade1 100644 --- a/app/Views/auth_confirm_mail.php +++ b/app/Views/auth_confirm_mail.php @@ -9,7 +9,7 @@ - "> + "> " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> @@ -37,16 +37,14 @@ diff --git a/app/Views/auth_lock_screen.php b/app/Views/auth_lock_screen.php index 04c39814..2302b587 100644 --- a/app/Views/auth_lock_screen.php +++ b/app/Views/auth_lock_screen.php @@ -8,7 +8,7 @@ - "> + "> " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> " rel="stylesheet" type="text/css" id="app-default-stylesheet" /> @@ -35,16 +35,14 @@ diff --git a/app/Views/auth_login.php b/app/Views/auth_login.php index 27d3dbc5..9a45727e 100755 --- a/app/Views/auth_login.php +++ b/app/Views/auth_login.php @@ -9,7 +9,7 @@ - "> + "> " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> @@ -36,16 +36,14 @@

Enter your email address and password to access admin panel.

diff --git a/app/Views/auth_logout.php b/app/Views/auth_logout.php index 0b3c1d0a..2b709b8a 100755 --- a/app/Views/auth_logout.php +++ b/app/Views/auth_logout.php @@ -8,7 +8,7 @@ - "> + "> " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> @@ -36,16 +36,14 @@ diff --git a/app/Views/auth_reset_password.php b/app/Views/auth_reset_password.php index ced9118b..6a518ed2 100644 --- a/app/Views/auth_reset_password.php +++ b/app/Views/auth_reset_password.php @@ -9,7 +9,7 @@ - "> + "> " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> " rel="stylesheet" type="text/css" id="app-default-stylesheet" /> diff --git a/app/Views/template/footer.php b/app/Views/template/footer.php index 57229530..d6aa8617 100644 --- a/app/Views/template/footer.php +++ b/app/Views/template/footer.php @@ -9,8 +9,10 @@
-

© .

- + company fav icon for footer + © +