Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Apr 28, 2022
1 parent 303a582 commit f0d1fee
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -152,7 +152,11 @@ public function apijs_settings()

public function apijs_combined_get_hash()
{
$hash = crc32(site_url() . template_dir().current_lang()).'.' . MW_VERSION ;
$suffix = 'public';
if(is_admin()){
$suffix = 'admin';
}
$hash = crc32(site_url() . template_dir().current_lang()).'.'.$suffix.'.' . MW_VERSION ;

return $hash;
}
Expand Down

0 comments on commit f0d1fee

Please sign in to comment.