Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 53a4c40

Browse files
author
Jamie Snape
committed
Do not check for writable folder before install
1 parent bbf2e53 commit 53a4c40

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

core/controllers/InstallController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public function step2Action()
9999
}
100100
}
101101

102-
$this->view->writable = is_writable(BASE_PATH);
103102
$this->view->basePath = BASE_PATH;
104103

105104
if ($this->_request->isPost()) {

core/views/install/index.phtml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,12 @@
4747
}
4848
}
4949

50-
if ($this->writable === false) {
51-
echo "<li><span style=\"color:red\"> Unable to write to the application folder: {$this->basePath}. Please check your web server permissions.</span></li>";
52-
}
53-
54-
if ($this->writable && empty($this->phpextension_missing)) {
50+
if (empty($this->phpextension_missing)) {
5551
echo "<li><span style=\"color:green\"> Your system is OK.</span></li>";
5652
}
5753
echo "</ul>";
5854

59-
if ($this->writable !== false) {
55+
if (empty($this->phpextension_missing)) {
6056
echo "<form method='post' action=''>";
6157
echo "<input type='submit' name='submit' value='Go to next step'>";
6258
echo "</form>";

0 commit comments

Comments
 (0)