Skip to content

Commit

Permalink
thusfar
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmagicii committed Oct 7, 2024
1 parent c3a3872 commit 9e6c8a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/www/themes/default/design.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@

]);

////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////

// include google recaptcha script if keys are defined.

if($App->Config->IsTrue('Google.ReCaptcha.PublicKey'))
if($App->Config->IsTrue('Google.ReCaptcha.PrivateKey'))
$App->Surface->AddScriptURL('https://www.google.com/recaptcha/api.js');

return;
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PageWeb

#[Avenue\Meta\RouteHandler('/::Alias::', Verb: 'GET')]
#[Avenue\Meta\ConfirmWillAnswerRequest]
#[Avenue\Meta\ExtraDataArgs]
public function
View(string $Alias, Atlantis\Page\Entity $Page):
void {
Expand Down

0 comments on commit 9e6c8a2

Please sign in to comment.