From 5a087db6d289da078c1ba1220eefd1371a7ac368 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 2 Feb 2024 12:34:12 +0100 Subject: [PATCH] test --- lib/page.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/page.php b/lib/page.php index 614673a..75d58c6 100644 --- a/lib/page.php +++ b/lib/page.php @@ -143,16 +143,17 @@ function getPage($page_name = null): array|false|string if(!empty($pageMetadata["parameters"]["page_script"])){ $script_location = $pageMetadata["parameters"]["page_script"]; + echo $script_location; } else{ $script_location = "assets/scripts/$site_name/$page_name.js"; + echo $script_location; } if(file_exists($style_location)) { $script_tag = $script_location; } else{ - echo $script_location; $script_tag = ""; }