mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-11 17:32:41 +01:00
18 lines
444 B
PHP
18 lines
444 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorAuthController extends PhabricatorController {
|
||
|
|
||
|
public function buildStandardPageResponse($view, array $data) {
|
||
|
$page = $this->buildStandardPageView();
|
||
|
|
||
|
$page->setApplicationName('Login');
|
||
|
$page->setBaseURI('/login/');
|
||
|
$page->setTitle(idx($data, 'title'));
|
||
|
$page->appendChild($view);
|
||
|
|
||
|
$response = new AphrontWebpageResponse();
|
||
|
return $response->setContent($page->render());
|
||
|
}
|
||
|
|
||
|
}
|