0

Why even if I clear cache for that file and modify it (by adding a space) filemtime stays the same?

clearstatcache(true, $file);
// or clearstatcache()

return date("U", filemtime($file));

It drives me crazy. I've already tried turning off caching in .htaccess.

Files I hit with it are ($file):

string '../private_data/Pages/metaData.xml' (length=34)
string 'Data/StaticRoots.php' (length=20)
string '../private_data/CountryISO/CountryInfo.xml' (length=42)
string 'Data/CountryInfo.php' (length=20)
string '../private_data/Lang/Lang_PL.xml' (length=32)
string 'Data/Lang_PL.php' (length=16)
string '/' (length=1)
4

0 回答 0