From: Roland Haeder Date: Tue, 20 Dec 2016 20:15:53 +0000 (+0100) Subject: Continued with coding convention: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c1b76e889e4b2ca50abe191c22f3a8bb7a9bfdaf;p=friendica.git Continued with coding convention: - added curly braces around conditional code blocks - added space between if/foreach/... and brace - rewrote a code block so if dbm::is_result() fails it will abort, else the id is fetched from INSERT statement - made some SQL keywords upper-cased and added back-ticks to columns/table names Signed-off-by: Roland Haeder --- diff --git a/mod/install.php b/mod/install.php index 9adeac604e..f7329592e0 100755 --- a/mod/install.php +++ b/mod/install.php @@ -538,7 +538,8 @@ function check_htaccess(&$checks) { $help = t('Url rewrite in .htaccess is not working. Check your server configuration.'); } check_add($checks, t('Url rewrite is working'), $status, true, $help); - } else { + } + else { // cannot check modrewrite if libcurl is not installed /// @TODO Maybe issue warning here? }