Skip to content

Commit

Permalink
Expose index filename
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Aug 7, 2014
1 parent fac8635 commit 60a2191
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Request {
public $ext;
public $method;
public $headers;
public $indexFilename;

private $config;

Expand All @@ -41,6 +42,7 @@ public function __construct($uri, ConfigObj $config) {
? $_SERVER["REQUEST_METHOD"]
: null;
$this->headers = new HeaderList($_SERVER);
$this->indexFilename = $config->index_filename;
}

/**
Expand Down

0 comments on commit 60a2191

Please sign in to comment.