forked from Cavemanon/cavepaintings
Fixed caching from not outputing JS if only CSS is enabled.
This commit is contained in:
@@ -287,11 +287,11 @@ class Setup extends SimpleExtension {
|
||||
$sb->add_text_option("api_recaptcha_pubkey", "<br>Public key: ");
|
||||
$event->panel->add_block($sb);
|
||||
|
||||
$sb = new SetupBlock("Automatic CSS and JavaScript Caching");
|
||||
$sb->add_text_option("autocache_location", "<br>Location: ");
|
||||
$sb->add_label("<br>Needs to be writeable by the webserver");
|
||||
$sb->add_bool_option("autocache_css", "<br>Enable automatic caching of CSS: ");
|
||||
$sb->add_bool_option("autocache_js", "<br>Enable automatic caching of JS: ");
|
||||
$sb = new SetupBlock("Automatic CSS & JS Caching");
|
||||
$sb->add_text_option("autocache_location", "Location: ");
|
||||
$sb->add_label("<br><i>Needs to be writeable by the webserver.</i>");
|
||||
$sb->add_bool_option("autocache_css", "<br>Automatic caching of CSS: ");
|
||||
$sb->add_bool_option("autocache_js", "<br>Automatic caching of JS: ");
|
||||
$sb->add_bool_option("autocache_min_css", "<br>Minimize CSS files: ");
|
||||
$sb->add_bool_option("autocache_min_js", "<br>Minimize JS files: ");
|
||||
$event->panel->add_block($sb);
|
||||
|
Reference in New Issue
Block a user