예제 #1
0
파일: tpl.php 프로젝트: art-youth/framework
 static function get_instance()
 {
     if (!(isset(self::$object) && self::$object instanceof Smarty)) {
         self::$object = new Smarty();
     }
     return isset(self::$object) ? self::$object : null;
 }