From 099a1735db8fd51b67fe3eb9cca7a9741896fb8a Mon Sep 17 00:00:00 2001 From: simonpipe Date: Thu, 28 May 2026 09:20:04 +0200 Subject: [PATCH] Update externallinks.php --- externallinks.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/externallinks.php b/externallinks.php index 3ab03b0..8225fb9 100644 --- a/externallinks.php +++ b/externallinks.php @@ -11,11 +11,11 @@ class YellowExternallinks { } // Insert script into header - public function onExtra($name) { - $output = ""; + public function onParsePageExtra($page, $name) { + $output = null; if ($name == "header") { - $location = $this->yellow->system->get("coreServerBase") . "system/workers/externallinks.js"; - $output .= "\n"; + $assetLocation = $this->yellow->system->get("coreServerBase") . $this->yellow->system->get("coreAssetLocation"); + $output .= "\n"; } return $output; }