mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-08 10:32:23 -04:00
Clean code.
This commit is contained in:
parent
291f4e28d8
commit
34f86997cb
1 changed files with 0 additions and 3 deletions
|
@ -29,9 +29,6 @@ class Bootstrap {
|
||||||
if (strtolower($setup->get('REQUEST_METHOD')) === 'post') {
|
if (strtolower($setup->get('REQUEST_METHOD')) === 'post') {
|
||||||
(new Api($app))->apply();
|
(new Api($app))->apply();
|
||||||
} else {
|
} else {
|
||||||
// (new Page($app))->apply();
|
|
||||||
// define('PAGE_APP_HREF', $setup->get('APP_HREF'));
|
|
||||||
// define('PAGE_FALLBACK', (new Fallback($app))->get_html());
|
|
||||||
define('APP_HREF', $setup->get('APP_HREF'));
|
define('APP_HREF', $setup->get('APP_HREF'));
|
||||||
define('FALLBACK', (new Fallback($app))->get_html());
|
define('FALLBACK', (new Fallback($app))->get_html());
|
||||||
$this->once('inc/page');
|
$this->once('inc/page');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue