Пример #1
0
 static function finalize()
 {
     $error = trim(ob_get_clean(), " \r\n");
     if ($error) {
         static::$response = so_output::error($error);
     }
     if (!static::$response) {
         static::$response = so_output::error('Empty response');
     }
     so_front::make()->send(static::$response);
 }