From d62a6b5d7ef29e0d9c8682223baf1d8111be0d4a Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Fri, 23 Oct 2015 14:43:32 +0200 Subject: [PATCH] Sort keys per section within php.ini. --- php/ng/files/php.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/ng/files/php.ini b/php/ng/files/php.ini index 892960e..01505ef 100644 --- a/php/ng/files/php.ini +++ b/php/ng/files/php.ini @@ -5,7 +5,7 @@ {{ section }} = {{ settings }} {%- else %} [{{ section }}] - {%- for setting in settings -%} + {%- for setting in settings|sort -%} {%- for key, value in setting.items() %} {%- if value is number or value is string %} {{ key }} = {{ value }}