Code Duplication    Length = 9-9 lines in 2 locations

class/cache/cache-file.php 2 locations

@@ 39-47 (lines=9) @@
36
	public function ChkCfg () {
37
		$b_pass = true;
38
39
		if (empty($this->aCfg['cache-file-dir']))
40
			$b_pass = false;
41
		else {
42
			$s = $this->ChkCfgFileDir($this->aCfg['cache-file-dir']);
43
			if (!empty($s)) {
44
				$this->Log('Cache file cfg dir error: ' . $s, 4);
45
				$b_pass = false;
46
			}
47
		}
48
49
		if (empty($this->aCfg['cache-file-rule']))
50
			$b_pass = false;
@@ 49-57 (lines=9) @@
46
			}
47
		}
48
49
		if (empty($this->aCfg['cache-file-rule']))
50
			$b_pass = false;
51
		else {
52
			$s = $this->ChkCfgFileRule($this->aCfg['cache-file-rule']);
53
			if (!empty($s)) {
54
				$this->Log('Cache file cfg rule error: ' . $s, 4);
55
				$b_pass = false;
56
			}
57
		}
58
59
		return $b_pass;
60
	} // end of func ChkCfg