diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html
index ed8b3b0d56..5915ed7aa6 100644
--- a/phpBB/adm/style/overall_footer.html
+++ b/phpBB/adm/style/overall_footer.html
@@ -45,6 +45,19 @@
+{% if S_ALLOW_CDN %}
+
+{% endif %}
{$SCRIPTS}
diff --git a/phpBB/adm/style/simple_footer.html b/phpBB/adm/style/simple_footer.html
index 50dba2f910..988622dda1 100644
--- a/phpBB/adm/style/simple_footer.html
+++ b/phpBB/adm/style/simple_footer.html
@@ -19,6 +19,19 @@
+{% if S_ALLOW_CDN %}
+
+{% endif %}
{$SCRIPTS}
diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index 14eda9d9b6..9b5a468a7e 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -96,6 +96,7 @@ function adm_page_header($page_title)
'T_FONT_AWESOME_LINK' => !empty($config['allow_cdn']) && !empty($config['load_font_awesome_url']) ? $config['load_font_awesome_url'] : "{$phpbb_root_path}assets/css/font-awesome.min.css?assets_version=" . $config['assets_version'],
'T_ASSETS_VERSION' => $config['assets_version'],
+ 'T_ASSETS_PATH' => "{$phpbb_root_path}assets",
'ICON_MOVE_UP' => '',
'ICON_MOVE_UP_DISABLED' => '',
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index 1a984fa8d7..08d8859297 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -76,6 +76,19 @@
+{% if S_ALLOW_CDN %}
+
+{% endif %}
diff --git a/phpBB/styles/prosilver/template/simple_footer.html b/phpBB/styles/prosilver/template/simple_footer.html
index 8b9ac831c2..8a19af6882 100644
--- a/phpBB/styles/prosilver/template/simple_footer.html
+++ b/phpBB/styles/prosilver/template/simple_footer.html
@@ -46,6 +46,19 @@
+{% if S_ALLOW_CDN %}
+
+{% endif %}
{$SCRIPTS}