Jump to content

Reasonable hack for the 'Version override for custom_styles.css' setting?


Kurtis Houser

Recommended Posts

Given the difficulty I have getting my iPhone to load the latest custom css file instead of using the cached version, it's very helpful for me if this feature works. Currently, it appears that this setting is still ignored and the JReviews version is used instead.

With the understanding there are several files that use this and that any changes to the core files are overwritten when upgrading I made the following change to line 78 in asset_manager.php.

$version = $config->custom_styles_version ? $config->custom_styles_version : cmsFramework::getAppversion('jreviews');

Hopefully this won't create problems elsewhere. So far it appears to be working fine.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...