adjustments

This commit is contained in:
HB9HIL
2024-07-23 14:13:56 +02:00
parent ba5796e6ce
commit 5a50a38395
3 changed files with 27 additions and 39 deletions

View File

@@ -119,12 +119,14 @@ class OptionsLib {
}
function get_logo($logo_location) {
function get_logo($logo_location, $theme = null) {
$CI =& get_instance();
// get the theme with the get_theme() function above
$theme = $this->get_theme();
if ($theme == null) {
$theme = $this->get_theme();
}
// load the themes model and fetch the logo name from it
$CI->load->model('Themes_model');