CodeIgniter + Smarty = Error
问题 Here's what I did: Downloaded and unzipped CI Downloaded and unzipped Smarty in /application/libraries/Smarty-3.1.4 Saved https://github.com/kzhiwei/codeigniter-smarty/blob/master/application/libraries/Smartylib.php to /application/libraries/Smartylib.php (also fixed line 2 to point to the correct folder) Added Smartylib in autoload libraries Created a test.tpl and called it from the controller: $this->Smartylib->display('test.tpl'); Now, I'm getting the following error: Fatal error: Call to