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

fopen/fclose on cache files #172

@Sahadar

Description

@Sahadar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions