|
@@ 60-65 (lines=6) @@
|
| 57 |
|
// check if iconv is available |
| 58 |
|
echo '<p>' . $_lang['checking_iconv']; |
| 59 |
|
$iconv = (int) function_exists('iconv'); |
| 60 |
|
if ($iconv == '0'){ |
| 61 |
|
echo '<span class="notok">' . $_lang['failed'].'</span></p><p><strong>'.$_lang['checking_iconv_note'].'</strong></p>'; |
| 62 |
|
$errors++; |
| 63 |
|
} else { |
| 64 |
|
echo '<span class="ok">' . $_lang['ok'] . '</span></p>'; |
| 65 |
|
} |
| 66 |
|
// check sessions |
| 67 |
|
echo '<p>' . $_lang['checking_sessions']; |
| 68 |
|
if ($_SESSION['test'] != 1) { |
|
@@ 68-73 (lines=6) @@
|
| 65 |
|
} |
| 66 |
|
// check sessions |
| 67 |
|
echo '<p>' . $_lang['checking_sessions']; |
| 68 |
|
if ($_SESSION['test'] != 1) { |
| 69 |
|
echo '<span class="notok">' . $_lang['failed']. '</span></p>'; |
| 70 |
|
$errors++; |
| 71 |
|
} else { |
| 72 |
|
echo '<span class="ok">' . $_lang['ok'] . '</span></p>'; |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
|
| 76 |
|
// check directories |
|
@@ 177-182 (lines=6) @@
|
| 174 |
|
f_owc($tmp, "<?php //EVO configuration file ?>", 0666); |
| 175 |
|
} |
| 176 |
|
$isWriteable = is_writable($tmp); |
| 177 |
|
if (!$isWriteable) { |
| 178 |
|
$errors++; |
| 179 |
|
echo '<span class="notok">'.$_lang['failed'].'</span></p><p><strong>'.$_lang['config_permissions_note'].'</strong></p>'; |
| 180 |
|
} else { |
| 181 |
|
echo '<span class="ok">'.$_lang['ok'].'</span></p>'; |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
|
| 185 |
|
// connect to the database |