new Совместимость с php8
This commit is contained in:
parent
2edd65d145
commit
5748ea9148
7 changed files with 17 additions and 30 deletions
|
|
@ -10,7 +10,7 @@ use Exception,
|
|||
ctiso\Session;
|
||||
|
||||
// HTTPRequest = ArrayAccess
|
||||
class HttpRequest extends Collection implements ArrayAccess
|
||||
class HttpRequest extends Collection
|
||||
{
|
||||
|
||||
public $_session;
|
||||
|
|
@ -117,19 +117,6 @@ class HttpRequest extends Collection implements ArrayAccess
|
|||
exit();
|
||||
}
|
||||
|
||||
|
||||
public function offsetSet($key, $value) {
|
||||
}
|
||||
|
||||
public function offsetExists($key) {
|
||||
}
|
||||
|
||||
public function offsetUnset($key) {
|
||||
}
|
||||
|
||||
public function offsetGet($key) {
|
||||
}
|
||||
|
||||
static function getProtocol() {
|
||||
return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue