Change deprecated calls

This commit is contained in:
Eric Espie
2025-05-22 15:02:29 +02:00
parent 9aa13f57d8
commit 2ee30692ff
2 changed files with 5 additions and 4 deletions

View File

@@ -773,7 +773,7 @@ abstract class Controller extends AbstractController
{
// iTop 3.1 and older compatibility, if not an URI we don't know if its relative to app root or module root
if (strpos($sLinkedScript, "://") === false) {
$this->m_oPage->add_linked_script($sLinkedScript);
$this->m_oPage->LinkScriptFromAppRoot(utils::LocalPath($sLinkedScript, APPROOT));
return;
}