Пример #1
0
 /**
  * @return int
  */
 public static function getTime()
 {
     if (K::app() instanceof K_Task) {
         return time();
     }
     return $_SERVER['REQUEST_TIME'];
 }