Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Fixed issue when dynamically changing theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkader committed May 1, 2018
1 parent 9ca9b92 commit 69e4da9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/skeleton/libraries/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,11 +867,7 @@ public function themes_url($uri = '')
*/
public function set_theme($theme = 'default')
{
// Reset all.
$this->_reset();

// Change config item.
$this->ci->config->set_item('theme', $theme);
$this->_theme = $theme;
return $this;
}

Expand Down

0 comments on commit 69e4da9

Please sign in to comment.