summaryrefslogtreecommitdiffstats
path: root/core/setup.php
diff options
context:
space:
mode:
authorvsapronov <vladimir.sapronov@gmail.com>2013-09-29 20:16:32 -0400
committervsapronov <vladimir.sapronov@gmail.com>2013-09-29 20:16:32 -0400
commit1efbf7774fe4eceeef2e40bf212c89c3ee76052c (patch)
tree6345763444cdd9fa2fc2979266942143f097aa62 /core/setup.php
parentdc382bc9ccb0735ebc63b8bc8d43ff8512ac171a (diff)
downloadnextcloud-server-1efbf7774fe4eceeef2e40bf212c89c3ee76052c.tar.gz
nextcloud-server-1efbf7774fe4eceeef2e40bf212c89c3ee76052c.zip
Fixed review issues
Diffstat (limited to 'core/setup.php')
-rw-r--r--core/setup.php20
1 files changed, 10 insertions, 10 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') {