philsturgeon / codeigniter-template

Template library for CodeIgniter which supports modules, themes, partial views, etc.
411 stars 178 forks source link

add get_theme() to retrieve current theme #13

Closed ruthlessfish closed 13 years ago

ruthlessfish commented 13 years ago

Added get_theme() to easily get the current theme name since _theme is private. I couldn't find another way to do this but I may just be missing something.

philsturgeon commented 13 years ago

Good point! Never needed that as it's always been available as a setting.