@@ 79-84 (lines=6) @@ | ||
76 | // check directories |
|
77 | // cache exists? |
|
78 | echo '<p>' . $_lang['checking_if_cache_exist']; |
|
79 | if (!file_exists("../assets/cache") || !file_exists("../assets/cache/rss")) { |
|
80 | echo '<span class="notok">' . $_lang['failed'] . '</span></p>'; |
|
81 | $errors++; |
|
82 | } else { |
|
83 | echo '<span class="ok">' . $_lang['ok'] . '</span></p>'; |
|
84 | } |
|
85 | ||
86 | ||
87 | // cache writable? |
|
@@ 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']; |
|
@@ 112-117 (lines=6) @@ | ||
109 | ||
110 | ||
111 | echo '<p>'.$_lang['checking_if_cache_file2_writable']; |
|
112 | if ( ! is_writable("../assets/cache/sitePublishing.idx.php")) { |
|
113 | $errors++; |
|
114 | echo '<span class="notok">'.$_lang['failed'].'</span></p>'; |
|
115 | } else { |
|
116 | echo '<span class="ok">'.$_lang['ok'].'</span></p>'; |
|
117 | } |
|
118 | ||
119 | ||
120 | // File Browser directories exists? |
|
@@ 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? |