Skip to content
Snippets Groups Projects
Commit 267cab6a authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't need to change config param

parent 6092266f
No related branches found
No related tags found
No related merge requests found
......@@ -731,8 +731,6 @@ function webadmin_change_language {
cp "$webadmin_install_dir/language_template.html" "$webadmin_install_dir/language.html"
sed -i "s|\"$language\"|\"$language\" selected|g" "$webadmin_install_dir/language.html"
chown www-data:www-data "$webadmin_install_dir/language.html"
sed -i "s|DEFAULT_LANGUAGE=.*|DEFAULT_LANGUAGE=$language|g" "$CONFIGURATION_FILE"
fi
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment