| ... | ... |
@@ -14,6 +14,8 @@ class Request{
|
| 14 | 14 |
public function __construct(){
|
| 15 | 15 |
if(isset($_SERVER['L3_PATH'])) |
| 16 | 16 |
$this->path = $_SERVER['L3_PATH']; |
| 17 |
+ else if(isset($_SERVER['REDIRECT_L3_PATH'])) |
|
| 18 |
+ $this->path = $_SERVER['REDIRECT_L3_PATH']; |
|
| 17 | 19 |
$this->method = $_SERVER['REQUEST_METHOD']; |
| 18 | 20 |
$this->accept = isset($_SERVER['HTTP_ACCEPT'])?$_SERVER['HTTP_ACCEPT']:""; |
| 19 | 21 |
$this->acceptTypes = $this->parseAccept($this->accept); |