Update functions.php
							parent
							
								
									e54d64b6d3
								
							
						
					
					
						commit
						7748863b0e
					
				| 
						 | 
					@ -434,6 +434,7 @@ function array_value_isnot_null($arr)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function setConfig($arr)
 | 
					function setConfig($arr)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					    echo '<pre>'. json_encode($arr, JSON_PRETTY_PRINT).'</pre>';
 | 
				
			||||||
    $envs = json_decode(file_get_contents('config.json'));
 | 
					    $envs = json_decode(file_get_contents('config.json'));
 | 
				
			||||||
    if ($envs=='') $envs = [];
 | 
					    if ($envs=='') $envs = [];
 | 
				
			||||||
    foreach ($arr as $k1 => $v1) {
 | 
					    foreach ($arr as $k1 => $v1) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue