Code Duplication    Length = 6-6 lines in 2 locations

install/cli-install.php 2 locations

@@ 210-215 (lines=6) @@
207
if (!file_exists($tmp)) {
208
    f_owc($tmp, "<?php //EVO site cache file ?>");
209
}
210
if (!is_writable($tmp)) {
211
    $errors++;
212
    echo $_lang['failed'] . PHP_EOL;
213
} else {
214
    echo $_lang['ok'] . PHP_EOL;
215
}
216
217
218
echo strip_tags($_lang['checking_if_cache_file2_writable']);
@@ 286-291 (lines=6) @@
283
    @chmod($tmp, 0666);
284
}
285
$isWriteable = is_writable($tmp);
286
if (!$isWriteable) {
287
    $errors++;
288
    echo $_lang['failed'] . PHP_EOL;
289
} else {
290
    echo $_lang['ok'] . PHP_EOL;
291
}
292
293
294
// connect to the database