src/PhpFileCache.php 1 location
|
@@ 88-92 (lines=5) @@
|
85 |
|
|
86 |
|
$oldUmask = umask(0);
|
87 |
|
|
88 |
|
if (!is_writable($filename)) {
|
89 |
|
if (!file_exists($this->getDirectory())) {
|
90 |
|
mkdir($this->getDirectory(), 0777, true);
|
91 |
|
}
|
92 |
|
}
|
93 |
|
|
94 |
|
if ($timeToLive == null) {
|
95 |
|
if (empty($this->defaultTimeToLive)) {
|
src/FileCache.php 1 location
|
@@ 138-142 (lines=5) @@
|
135 |
|
|
136 |
|
$oldUmask = umask(0);
|
137 |
|
|
138 |
|
if (!is_writable($filename)) {
|
139 |
|
if (!file_exists($this->getDirectory())) {
|
140 |
|
mkdir($this->getDirectory(), 0777, true);
|
141 |
|
}
|
142 |
|
}
|
143 |
|
|
144 |
|
if ($timeToLive == null) {
|
145 |
|
if (empty($this->defaultTimeToLive)) {
|