@@ 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 |
|
@@ 89-94 (lines=6) @@ | ||
86 | ||
87 | // cache writable? |
|
88 | echo '<p>' . $_lang['checking_if_cache_writable']; |
|
89 | if (!is_writable("../assets/cache")) { |
|
90 | $errors++; |
|
91 | echo '<span class="notok">' . $_lang['failed'] . '</span></p>'; |
|
92 | } else { |
|
93 | echo '<span class="ok">' . $_lang['ok'] . '</span></p>'; |
|
94 | } |
|
95 | ||
96 | ||
97 | // cache files writable? |
|
@@ 103-108 (lines=6) @@ | ||
100 | if ( ! file_exists($tmp)) { |
|
101 | f_owc($tmp, "<?php //EVO site cache file ?>"); |
|
102 | } |
|
103 | if ( ! is_writable($tmp)) { |
|
104 | $errors++; |
|
105 | echo '<span class="notok">' . $_lang['failed'] . '</span></p>'; |
|
106 | } else { |
|
107 | echo '<span class="ok">'.$_lang['ok'].'</span></p>'; |
|
108 | } |
|
109 | ||
110 | ||
111 | //echo '<p>'.$_lang['checking_if_cache_file2_writable']; |
|
@@ 152-157 (lines=6) @@ | ||
149 | ||
150 | // export exists? |
|
151 | echo '<p>'.$_lang['checking_if_export_exists']; |
|
152 | if (!file_exists("../assets/export")) { |
|
153 | echo '<span class="notok">'.$_lang['failed'].'</span></p>'; |
|
154 | $errors++; |
|
155 | } else { |
|
156 | echo '<span class="ok">'.$_lang['ok'].'</span></p>'; |
|
157 | } |
|
158 | ||
159 | ||
160 | // export writable? |
|
@@ 162-167 (lines=6) @@ | ||
159 | ||
160 | // export writable? |
|
161 | echo '<p>'.$_lang['checking_if_export_writable']; |
|
162 | if (!is_writable("../assets/export")) { |
|
163 | echo '<span class="notok">'.$_lang['failed'].'</span></p>'; |
|
164 | $errors++; |
|
165 | } else { |
|
166 | echo '<span class="ok">'.$_lang['ok'].'</span></p>'; |
|
167 | } |
|
168 | ||
169 | ||
170 | // config.inc.php writable? |