File tree Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 4343 "map" : [
4444 [
4545 " pub/worker.php" ,
46+ " pub/worker.php"
47+ ],
48+ [
49+ " pub/index.php" ,
4650 " pub/index.php"
51+ ],
52+ [
53+ " pub/static.php" ,
54+ " pub/static.php"
4755 ]
4856 ]
4957 }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © OpenGento, All rights reserved.
4+ * See LICENSE bundled with this library for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ $ _SERVER ['OPENGENTO_APP ' ] = \Opengento \Application \App \Http::class;
9+
10+ include 'worker.php ' ;
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © OpenGento, All rights reserved.
4+ * See LICENSE bundled with this library for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ $ _SERVER ['OPENGENTO_APP ' ] = \Opengento \Application \App \StaticResource::class;
9+
10+ include 'worker.php ' ;
Original file line number Diff line number Diff line change 3838$ handler = static function () use ($ bootstrapPool ): void {
3939 try {
4040 $ bootstrap = $ bootstrapPool ->get ();
41- $ app = $ bootstrap ->createApplication (\ Opengento \ Application \ App \Application::class );
41+ $ app = $ bootstrap ->createApplication ($ _SERVER [ ' OPENGENTO_APP ' ] );
4242 if ($ app !== null ) {
4343 $ bootstrap ->run ($ app );
4444 }
You can’t perform that action at this time.
0 commit comments