@@ 42-49 (lines=8) @@ | ||
39 | /** |
|
40 | * {@inheritDoc} |
|
41 | */ |
|
42 | public function isSupported($test = false) |
|
43 | { |
|
44 | $supported = is_writable($this->cachedir); |
|
45 | ||
46 | if ($test) |
|
47 | return $supported; |
|
48 | return parent::isSupported() && $supported; |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritDoc} |
@@ 67-75 (lines=9) @@ | ||
64 | /** |
|
65 | * {@inheritDoc} |
|
66 | */ |
|
67 | public function isSupported($test = false) |
|
68 | { |
|
69 | $supported = class_exists("SQLite3") && is_writable($this->cachedir); |
|
70 | ||
71 | if ($test) |
|
72 | return $supported; |
|
73 | ||
74 | return parent::isSupported() && $supported; |
|
75 | } |
|
76 | ||
77 | /** |
|
78 | * {@inheritDoc} |