forked from Adleraci/adlerka.top
		
	test
This commit is contained in:
		@@ -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 = "";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user