Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/AphrontRequest.php
Show First 20 Lines • Show All 657 Lines • ▼ Show 20 Lines | public function isHTTPS() { | ||||
} | } | ||||
if (!strcasecmp($_SERVER['HTTPS'], 'off')) { | if (!strcasecmp($_SERVER['HTTPS'], 'off')) { | ||||
return false; | return false; | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
public function isContinueRequest() { | public function isContinueRequest() { | ||||
return $this->isFormPost() && $this->getStr('__continue__'); | return $this->isFormOrHisecPost() && $this->getStr('__continue__'); | ||||
} | } | ||||
public function isPreviewRequest() { | public function isPreviewRequest() { | ||||
return $this->isFormPost() && $this->getStr('__preview__'); | return $this->isFormPost() && $this->getStr('__preview__'); | ||||
} | } | ||||
/** | /** | ||||
* Get application request parameters in a flattened form suitable for | * Get application request parameters in a flattened form suitable for | ||||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |