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;