Skip to content

Commit

Permalink
Update App.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkumardusad authored Jan 30, 2023
1 parent 6036a89 commit 49bc396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public function handler(&$request = null, &$response = null)
if ($this->config->get('server') === 'php') {
ob_start();
}
// Set default headers
$this->context['response']->header('X-Powered-By', 'Unic Framework');
$this->dispatch($this->context['request'], $this->context['response']);
if (ob_get_level()) {
ob_end_flush();
Expand Down

0 comments on commit 49bc396

Please sign in to comment.