| @@ 86-89 (lines=4) @@ | ||
| 83 | return FALSE; |
|
| 84 | } |
|
| 85 | ||
| 86 | if (!($fp = fopen($file, 'r'))) { |
|
| 87 | $this->log_cache_error('Fetch :: Error Opening File ' . $file); |
|
| 88 | return FALSE; |
|
| 89 | } |
|
| 90 | ||
| 91 | // Only reading |
|
| 92 | flock($fp, LOCK_SH); |
|
| @@ 119-122 (lines=4) @@ | ||
| 116 | return false; |
|
| 117 | } |
|
| 118 | ||
| 119 | if (!($fp = fopen($file, 'r'))) { |
|
| 120 | $this->log_cache_error('Fetch :: Error Opening File ' . $file); |
|
| 121 | return false; |
|
| 122 | } |
|
| 123 | ||
| 124 | flock($fp, LOCK_SH); |
|
| 125 | ||