public function __construct() { $twigLoader = new Twig_Loader_Filesystem(RRApplication::getSystemApplicationDirectory() . 'templates'); $this->twigObj = new Twig_Environment($twigLoader, array()); $this->renderArray = array(); $this->renderArray['System']['LibPath'] = RRApplication::getLibPath(); $this->renderArray['System']['DicePath'] = RRApplication::getDiceImgPath(); }