diff --git a/install.php b/install.php
index 787edb20f0..30c6780abc 100644
--- a/install.php
+++ b/install.php
@@ -334,7 +334,7 @@ function showLibs()
global $external_libraries;
$present_libraries=array();
$absent_libraries=array();
- foreach ($external_libraries as $external_library){
+ foreach ($external_libraries as $external_library) {
if (haveExternalLibrary($external_library)) {
$present_libraries[]=$external_library;
} else {
@@ -352,22 +352,21 @@ function showLibs()
Absent Libraries
E_O_T;
- foreach($absent_libraries as $library)
- {
+ foreach ($absent_libraries as $library) {
echo '- ';
- if($library['url']){
+ if ($library['url']) {
echo ''.htmlentities($library['name']).'';
- }else{
+ } else {
echo htmlentities($library['name']);
}
echo '
';
- if($library['deb']){
+ if ($library['deb']) {
echo '- deb: ' . htmlentities($library['deb']) . '
';
}
- if($library['rpm']){
+ if ($library['rpm']) {
echo '- rpm: ' . htmlentities($library['rpm']) . '
';
}
- if($library['pear']){
+ if ($library['pear']) {
echo '- pear: ' . htmlentities($library['pear']) . '
';
}
echo '
';
@@ -377,8 +376,7 @@ E_O_T;
Installed Libraries
E_O_T;
- foreach($present_libraries as $library)
- {
+ foreach ($present_libraries as $library) {
echo '- ';
if ($library['url']) {
echo ''.htmlentities($library['name']).'';
@@ -514,11 +512,11 @@ STR;
if (empty($sitename)) {
updateStatus("No sitename specified.", true);
- $fail = true;
+ $fail = true;
}
- if($fail){
- showForm();
+ if ($fail) {
+ showForm();
return;
}
@@ -603,8 +601,7 @@ function pgsql_db_installer($host, $database, $username, $password) {
if (empty($password)) {
$sqlUrl = "pgsql://$username@$host/$database";
- }
- else {
+ } else {
$sqlUrl = "pgsql://$username:$password@$host/$database";
}