From 2d80976f06bb63de2ef9bc425360ebc5b9a33a21 Mon Sep 17 00:00:00 2001 From: simonpipe Date: Thu, 28 May 2026 08:43:32 +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 4f45800..3ab03b0 100644 --- a/externallinks.php +++ b/externallinks.php @@ -1,8 +1,8 @@ yellow = $yellow; } + // Insert script into header public function onExtra($name) { $output = ""; if ($name == "header") { - // Passt den Pfad dynamisch an das neue workers-Verzeichnis an - $location = $this->yellow->config->get("serverBase").$this->yellow->config->get("workerDir")."externallinks.js"; + $location = $this->yellow->system->get("coreServerBase") . "system/workers/externallinks.js"; $output .= "\n"; } return $output;