Skip to content

Commit

Permalink
Don't use Concentrate to display head entries
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthierm committed Mar 18, 2019
1 parent 0ee197f commit 33587e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions demo/include/DemoApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,10 @@ private function buildLayout()
$this->available_demos[$this->demo]);
}

$concentrator = new Concentrate_Concentrator();
$displayer = new SwatHtmlHeadEntrySetDisplayer($concentrator);

ob_start();
$this->layout_ui->display();
$ui = ob_get_clean();

ob_start();
$displayer->display($this->layout_ui->getRoot()->getHtmlHeadEntrySet());
$html_head_entries = ob_get_clean();

require '../include/layout.php';
}

Expand Down

0 comments on commit 33587e2

Please sign in to comment.