From 855e3b43e0a07d03c101e22bb914e20c894e1b25 Mon Sep 17 00:00:00 2001 From: KWDesigns Date: Sun, 14 Aug 2016 22:23:35 -0500 Subject: [PATCH] Line 13 gives a error in CI-3 Call to undefined method CI_Loader::spark() on line 13. I had to add a # to comment out the line so that the theme_example would load. --- controllers/theme_example.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/theme_example.php b/controllers/theme_example.php index 0fe3e28..eca6d93 100644 --- a/controllers/theme_example.php +++ b/controllers/theme_example.php @@ -10,7 +10,7 @@ public function __construct() $this->load->helper( array('url', 'cookie')); //load theme spark - $this->load->spark('theme/1.0.0'); + #$this->load->spark('theme/1.0.0'); //try to get the theme from the cookie $theme = get_cookie('theme'); @@ -51,4 +51,4 @@ public function switch_theme($theme) } /* End of file welcome.php */ -/* Location: ./application/controllers/welcome.php */ \ No newline at end of file +/* Location: ./application/controllers/welcome.php */