Fixed caching from not outputing JS if only CSS is enabled.

This commit is contained in:
green-ponies (jgen)
2011-09-25 14:00:56 -04:00
parent 97d137f365
commit 944f3bdf3d
2 changed files with 29 additions and 7 deletions

View File

@@ -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);