| @@ 187-192 (lines=6) @@ | ||
| 184 | if ( ! file_exists($tmp)) { |
|
| 185 | f_owc($tmp, "<?php //EVO site cache file ?>"); |
|
| 186 | } |
|
| 187 | if ( ! is_writable($tmp)) { |
|
| 188 | $errors++; |
|
| 189 | echo $_lang['failed'] . PHP_EOL; |
|
| 190 | } else { |
|
| 191 | echo $_lang['ok'] . PHP_EOL; |
|
| 192 | } |
|
| 193 | ||
| 194 | ||
| 195 | echo strip_tags($_lang['checking_if_cache_file2_writable']); |
|
| @@ 263-268 (lines=6) @@ | ||
| 260 | @chmod($tmp, 0666); |
|
| 261 | } |
|
| 262 | $isWriteable = is_writable($tmp); |
|
| 263 | if (!$isWriteable) { |
|
| 264 | $errors++; |
|
| 265 | echo $_lang['failed'] . PHP_EOL; |
|
| 266 | } else { |
|
| 267 | echo $_lang['ok'] . PHP_EOL; |
|
| 268 | } |
|
| 269 | ||
| 270 | ||
| 271 | // connect to the database |
|