Code Duplication    Length = 4-4 lines in 2 locations

manager/includes/config_check.inc.php 2 locations

@@ 133-136 (lines=4) @@
130
    }
131
}
132
133
if (!is_writable(MODX_BASE_PATH . "assets/cache/")) {
134
    $warningspresent = 1;
135
    $warnings[] = array($_lang['configcheck_cache']);
136
}
137
138
if (!checkSiteCache()) {
139
    $warningspresent = 1;
@@ 143-146 (lines=4) @@
140
    $warnings[]= array($lang['configcheck_sitecache_integrity']);
141
}
142
143
if (!is_writable(MODX_BASE_PATH . "assets/images/")) {
144
    $warningspresent = 1;
145
    $warnings[] = array($_lang['configcheck_images']);
146
}
147
148
if(strpos($modx->config['rb_base_dir'],MODX_BASE_PATH)!==0) {
149
    $warningspresent = 1;