public static function get_instance($have_db = true) { if (self::$instance == NULL) { self::$instance = new SilkSmarty($have_db); } return self::$instance; }