Skip to content

Commit

Permalink
Try read traditional request details from psr object
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeri17 committed Jul 16, 2023
1 parent 7c09e54 commit a015e81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http:
address: localhost:8080
pool:
num_workers: 4
middleware: ["headers", "static", "gzip"]
middleware: ["static", "gzip"]
uploads:
forbid: [".php", ".exe", ".bat"]
static:
Expand Down
7 changes: 5 additions & 2 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

use AllModules\PublishedModules;

use GuzzleHttp\Psr7\ServerRequest;

require_once "../vendor/autoload.php";

echo (new ModuleWorkerAccessor(new PublishedModules(), true))

->buildIdentifier()->getRequestRenderer($_GET["suphle_path"], true)
->buildIdentifier()->getRequestRenderer(

->render();
$_GET["suphle_path"], true, ServerRequest::fromGlobals()
)->render();
Empty file added public/js/index.js
Empty file.

0 comments on commit a015e81

Please sign in to comment.