mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 15:57:01 +02:00
Update cachebuster version code in admin themes, just in case the previous commits updates to main.js are cached and not immediately visible
This commit is contained in:
@@ -29,7 +29,7 @@ if($user->hasPermission('page-edit')) {
|
||||
$searchForm = '';
|
||||
}
|
||||
|
||||
$version = $adminTheme->version . 'i';
|
||||
$version = $adminTheme->version . 'j';
|
||||
|
||||
$config->styles->prepend($config->urls->root . "wire/templates-admin/styles/AdminTheme.css?v=$version");
|
||||
$config->styles->prepend($config->urls->adminTemplates . "styles/" . ($adminTheme->colors ? "main-$adminTheme->colors" : "main-classic") . ".css?v=$version");
|
||||
|
@@ -20,7 +20,7 @@
|
||||
if(!defined("PROCESSWIRE")) die();
|
||||
|
||||
if(!isset($content)) $content = '';
|
||||
$version = $adminTheme->version . 'k';
|
||||
$version = $adminTheme->version . 'l';
|
||||
$ext = $config->debug ? "js" : "min.js";
|
||||
|
||||
// Search form
|
||||
|
Reference in New Issue
Block a user