Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/utility/logger.php
Show First 20 Lines • Show All 492 Lines • ▼ Show 20 Line(s) | |||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function addRequestData() | public function addRequestData() | ||||
{ | { | ||||
$request_data = array( | $request_data = array( | ||||
'Headers' => $this->Application->HttpQuery->getHeaders(), | 'Headers' => $this->Application->HttpQuery->getHeaders(), | ||||
); | ); | ||||
$request_variables = Array('_GET' => $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE); | $request_variables = array('_GET' => $_GET, '_POST' => $_POST, '_COOKIE' => $_COOKIE, '_FILES' => $_FILES); | ||||
foreach ( $request_variables as $title => $data ) { | foreach ( $request_variables as $title => $data ) { | ||||
if ( !$data ) { | if ( !$data ) { | ||||
continue; | continue; | ||||
} | } | ||||
$request_data[$title] = $data; | $request_data[$title] = $data; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1097 Lines • Show Last 20 Lines |