Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

fopen/fclose on cache files #172

Open
Sahadar opened this issue Jul 28, 2011 · 0 comments
Open

fopen/fclose on cache files #172

Sahadar opened this issue Jul 28, 2011 · 0 comments

Comments

@Sahadar
Copy link

Sahadar commented Jul 28, 2011

I had a problem with not closing just opened file in cache directory. Just before line

'file_put_contents($cachedir.DS.$cachefile, $output);' the "$cache_lock" wasn't closed properly.

In case of this i had to work not with file_put_contents method but:

fwrite($cache_lock,$output);
fclose($cache_lock);

Plz sbd check it out if I'm right. Now i got problem fixed by this thing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant