@@ 167-170 (lines=4) @@ | ||
164 | ||
165 | for ($i=0;$i<count($warnings);$i++) { |
|
166 | switch ($warnings[$i][0]) { |
|
167 | case $_lang['configcheck_configinc']; |
|
168 | $warnings[$i][1] = $_lang['configcheck_configinc_msg']; |
|
169 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,3,$warnings[$i][1],$_lang['configcheck_configinc']); |
|
170 | break; |
|
171 | case $_lang['configcheck_installer'] : |
|
172 | $warnings[$i][1] = $_lang['configcheck_installer_msg']; |
|
173 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,3,$warnings[$i][1],$_lang['configcheck_installer']); |
|
@@ 171-174 (lines=4) @@ | ||
168 | $warnings[$i][1] = $_lang['configcheck_configinc_msg']; |
|
169 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,3,$warnings[$i][1],$_lang['configcheck_configinc']); |
|
170 | break; |
|
171 | case $_lang['configcheck_installer'] : |
|
172 | $warnings[$i][1] = $_lang['configcheck_installer_msg']; |
|
173 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,3,$warnings[$i][1],$_lang['configcheck_installer']); |
|
174 | break; |
|
175 | case $_lang['configcheck_cache'] : |
|
176 | $warnings[$i][1] = $_lang['configcheck_cache_msg']; |
|
177 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,2,$warnings[$i][1],$_lang['configcheck_cache']); |
|
@@ 175-178 (lines=4) @@ | ||
172 | $warnings[$i][1] = $_lang['configcheck_installer_msg']; |
|
173 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,3,$warnings[$i][1],$_lang['configcheck_installer']); |
|
174 | break; |
|
175 | case $_lang['configcheck_cache'] : |
|
176 | $warnings[$i][1] = $_lang['configcheck_cache_msg']; |
|
177 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,2,$warnings[$i][1],$_lang['configcheck_cache']); |
|
178 | break; |
|
179 | case $_lang['configcheck_images'] : |
|
180 | $warnings[$i][1] = $_lang['configcheck_images_msg']; |
|
181 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,2,$warnings[$i][1],$_lang['configcheck_images']); |
|
@@ 179-182 (lines=4) @@ | ||
176 | $warnings[$i][1] = $_lang['configcheck_cache_msg']; |
|
177 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,2,$warnings[$i][1],$_lang['configcheck_cache']); |
|
178 | break; |
|
179 | case $_lang['configcheck_images'] : |
|
180 | $warnings[$i][1] = $_lang['configcheck_images_msg']; |
|
181 | if(empty($_SESSION["mgrConfigCheck"])) $modx->logEvent(0,2,$warnings[$i][1],$_lang['configcheck_images']); |
|
182 | break; |
|
183 | case $_lang['configcheck_sysfiles_mod']: |
|
184 | $warnings[$i][1] = $_lang["configcheck_sysfiles_mod_msg"]; |
|
185 | $warnings[$i][2] = '<ul><li>'. implode('</li><li>', $sysfiles_check) .'</li></ul>'; |