Skip to content

Commit 6d93bcf

Browse files
committed
Merge pull request #111 from moufmouf/2.0
vendor/mouf/mouf directory does not need anymore to be writable. Fixing installer.
2 parents 69330d9 + 309a818 commit 6d93bcf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src-dev/views/mouf_installer/welcome.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<?php
66
define('MOUF_DIR', dirname(__FILE__)."/../../..");
77

8-
if (!is_writable(MOUF_DIR) || !is_writable(MOUF_DIR."/../../..") || (file_exists(MOUF_DIR."/../../../mouf") && !is_writable(MOUF_DIR."/../../../mouf"))) {
8+
if (!is_writable(MOUF_DIR."/../../..") || (file_exists(MOUF_DIR."/../../../mouf") && !is_writable(MOUF_DIR."/../../../mouf"))) {
99
?>
1010

1111
<div class="alert">Web directory must be writable for the Apache user</div>
@@ -15,9 +15,6 @@
1515
<?php if(!is_writable(MOUF_DIR."/../../..")) {?>
1616
<li><?php echo realpath(MOUF_DIR."/../../..") ?></li>
1717
<?php }
18-
if(!is_writable(MOUF_DIR)) {?>
19-
<li><?php echo realpath(MOUF_DIR) ?></li>
20-
<?php }
2118
if(file_exists(MOUF_DIR."/../../../mouf") && !is_writable(MOUF_DIR."/../../../mouf")) {?>
2219
<li><?php echo realpath(MOUF_DIR."/../../../mouf") ?></li>
2320
<?php }?>

0 commit comments

Comments
 (0)