Пример #1
0
 public static function get_last_modify()
 {
     if (!isset(self::$__last_modified)) {
         self::$__last_modified = app::get('wap')->getConf('widgets_css_last_modify');
     }
     return self::$__last_modified;
 }
Пример #2
0
 public function cache_version()
 {
     $theme = $this->_request->get_get('theme');
     if (!$this->check($theme, $msg)) {
         $this->_error($msg);
     }
     $this->begin();
     wap_widgets::set_last_modify();
     $this->end(kernel::single('wap_theme_tmpl')->touch_theme_tmpl($theme));
 }