From 1efbf7774fe4eceeef2e40bf212c89c3ee76052c Mon Sep 17 00:00:00 2001
From: vsapronov
Date: Sun, 29 Sep 2013 20:16:32 -0400
Subject: Fixed review issues
---
core/setup.php | 20 ++++++++++----------
core/templates/installation.php | 8 ++++----
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/core/setup.php b/core/setup.php
index d18b1d54c2b..4026a748453 100644
--- a/core/setup.php
+++ b/core/setup.php
@@ -8,15 +8,15 @@ if( file_exists( $autosetup_file )) {
$_POST = array_merge ($_POST, $AUTOCONFIG);
}
-$dbSet = isset($_POST['dbtype']);
-$directorySet = isset($_POST['directory']);
-$adminAccountSet = isset($_POST['adminlogin']);
+$dbIsSet = isset($_POST['dbtype']);
+$directoryIsSet = isset($_POST['directory']);
+$adminAccountIsSet = isset($_POST['adminlogin']);
-if ($dbSet AND $directorySet AND $adminAccountSet) {
- $_POST['install'] = 'true';
- if( file_exists( $autosetup_file )) {
- unlink($autosetup_file);
- }
+if ($dbIsSet AND $directoryIsSet AND $adminAccountIsSet) {
+ $_POST['install'] = 'true';
+ if( file_exists( $autosetup_file )) {
+ unlink($autosetup_file);
+ }
}
OC_Util::addScript('setup');
@@ -46,8 +46,8 @@ $opts = array(
'htaccessWorking' => OC_Util::isHtAccessWorking(),
'vulnerableToNullByte' => $vulnerableToNullByte,
'errors' => array(),
- 'dbSet' => $dbSet,
- 'directorySet' => $directorySet
+ 'dbIsSet' => $dbIsSet,
+ 'directoryIsSet' => $directoryIsSet,
);
if(isset($_POST['install']) AND $_POST['install']=='true') {
diff --git a/core/templates/installation.php b/core/templates/installation.php
index ed8057452bd..342383fdb28 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -61,7 +61,7 @@
-
+
-
+
-
+
-
+
--
cgit v1.2.3