Chciałem używać smarty w Ci. Poszperałem i znalazłem TO. Zrobiłem wszystko według toturialu, zmieniłem to:
{ $this->assign(&$data); }
na to:
{ $this->assign($data); }
Niestety wywala mi błąd
Fatal error: Uncaught --> Smarty: PHP5 requires you to call __construct() instead of Smarty() <-- thrown in /opt/lampp/htdocs/ci/application/libraries/smarty/sysplugins/smarty_internal_templatebase.php on line 855
Ktoś coś?