mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Fix build system.
This commit is contained in:
		@@ -161,8 +161,8 @@ class Dev {
 | 
			
		||||
		"3rdparty/js-bbcode-parser/bbcode-parser.js",
 | 
			
		||||
 | 
			
		||||
		//Simple peer
 | 
			
		||||
		"3rdparty/simplepeer/simplepeer.min.js",
 | 
			
		||||
		"3rdparty/SignalExchangerClient/SignalExchangerClient.js"
 | 
			
		||||
		array("path" => "3rdparty/simplepeer/simplepeer.min.js", "uglifyjs" => false),
 | 
			
		||||
		array("path" => "3rdparty/SignalExchangerClient/SignalExchangerClient.js", "uglifyjs" => false)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
@@ -320,7 +320,7 @@ class Dev {
 | 
			
		||||
		"js/common/formChecker.js",
 | 
			
		||||
		"js/common/date.js",
 | 
			
		||||
		"js/common/system.js",
 | 
			
		||||
		"js/common/songPlayer.js",
 | 
			
		||||
		array("path" => "js/common/songPlayer.js", "uglifyjs" => false),
 | 
			
		||||
 | 
			
		||||
		//Languages
 | 
			
		||||
		"js/langs/en.inc.js",
 | 
			
		||||
 
 | 
			
		||||
@@ -134,6 +134,10 @@ function src_inc_list_js(string $assets_url, array $files) : string {
 | 
			
		||||
 | 
			
		||||
    //Process the list of files
 | 
			
		||||
    foreach($files as $file){
 | 
			
		||||
 | 
			
		||||
        if(is_array($file))
 | 
			
		||||
            $file = $file["path"];
 | 
			
		||||
 | 
			
		||||
        $source .= src_inc_js($assets_url.$file)."\n\t\t";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user