It looks like you're new here. If you want to get involved, click one of these buttons!
X-Requested-With: XMLHttpRequest
protected function _initSession()
{
// Flash uploads require being able to specify session id
if ($_POST['PHPSESSID'])
{
// TODO: Fix uploadify/flash to work without this hack
// until Requested with header set to XMLHttpRequest for uploadify
// (and headers supported for file uploads in flash)
$_SERVER['HTTP_X_REQUESTED_WITH'] = \"XMLHttpRequest\";
Zend_Session::setId($_POST['PHPSESSID']);
}
}