sort config in vercel file
							parent
							
								
									af90ff91f7
								
							
						
					
					
						commit
						51d7e13ca5
					
				| 
						 | 
					@ -151,6 +151,7 @@ function setConfig($arr, $disktag = '')
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    $envs = array_filter($envs, 'array_value_isnot_null');
 | 
					    $envs = array_filter($envs, 'array_value_isnot_null');
 | 
				
			||||||
    //ksort($envs);
 | 
					    //ksort($envs);
 | 
				
			||||||
 | 
					    sortConfig($envs);
 | 
				
			||||||
    //error_log1(json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT));
 | 
					    //error_log1(json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT));
 | 
				
			||||||
    //echo json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT);
 | 
					    //echo json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT);
 | 
				
			||||||
    return setVercelConfig($envs, getConfig('HerokuappId'), getConfig('APIKey'));
 | 
					    return setVercelConfig($envs, getConfig('HerokuappId'), getConfig('APIKey'));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue