예제 #1
0
 protected function smarty()
 {
     static $smarty;
     if ($smarty === null) {
         $smarty = new smartyDriver();
         $smarty->setTemplatesDirectory(__DIR__ . '/../templates/authex');
     }
     return $smarty;
 }
예제 #2
0
 protected function smarty()
 {
     $smarty = new smartyDriver();
     $smarty->setTemplatesDirectory(__DIR__ . '/templates');
     return $smarty;
 }