Esempio n. 1
0
 function logRequestStart(k_Context $context)
 {
     $this->write('(request' . "\n" . '  (time "' . date("Y-m-d H:i:s") . '")' . "\n" . '  (method "' . $context->method() . '")' . "\n" . '  (request-uri "' . addslashes($context->requestUri()) . '")' . "\n" . '  (headers ' . $this->indent($this->dumper->dump($context->header())) . "))" . "\n");
 }
Esempio n. 2
0
 function requestUri()
 {
     return $this->context->requestUri();
 }