install/cli-install.php 1 location
|
@@ 280-284 (lines=5) @@
|
277 |
|
// config.inc.php writable? |
278 |
|
echo strip_tags($_lang['checking_if_config_exist_and_writable']); |
279 |
|
$tmp = $path . "../" . MGR_DIR . "/includes/config.inc.php"; |
280 |
|
if (!is_file($tmp)) { |
281 |
|
f_owc($tmp, "<?php //EVO configuration file ?>", 0666); |
282 |
|
} else { |
283 |
|
@chmod($tmp, 0666); |
284 |
|
} |
285 |
|
$isWriteable = is_writable($tmp); |
286 |
|
if (!$isWriteable) { |
287 |
|
$errors++; |
install/src/controllers/summary.php 1 location
|
@@ 173-177 (lines=5) @@
|
170 |
|
// config.inc.php writable? |
171 |
|
echo '<p>'.$_lang['checking_if_config_exist_and_writable']; |
172 |
|
$tmp = "../".MGR_DIR."/includes/config.inc.php"; |
173 |
|
if (!is_file($tmp)) { |
174 |
|
f_owc($tmp, "<?php //EVO configuration file ?>", 0666); |
175 |
|
} else { |
176 |
|
@chmod($tmp, 0666); |
177 |
|
} |
178 |
|
$isWriteable = is_writable($tmp); |
179 |
|
if (!$isWriteable) { |
180 |
|
$errors++; |