From 79b4adf1d1b7bee875a55d75db41365df4c9182b Mon Sep 17 00:00:00 2001 From: Daku Date: Wed, 18 Jan 2012 08:09:49 +0000 Subject: [PATCH] renamed style.css for the upload ext to avoid autoloading --- ext/upload/{style.css => _style.css} | 0 ext/upload/theme.php | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename ext/upload/{style.css => _style.css} (100%) diff --git a/ext/upload/style.css b/ext/upload/_style.css similarity index 100% rename from ext/upload/style.css rename to ext/upload/_style.css diff --git a/ext/upload/theme.php b/ext/upload/theme.php index fc6d5f59..c14631a3 100644 --- a/ext/upload/theme.php +++ b/ext/upload/theme.php @@ -10,9 +10,10 @@ class UploadTheme extends Themelet { } public function display_page(Page $page) { - global $config; - $tl_enabled = ($config->get_string("transload_engine", "none") != "none"); + global $config, $page; + $page->add_html_header(""); + $tl_enabled = ($config->get_string("transload_engine", "none") != "none"); // Uploader 2.0! $upload_list = ""; for($i=0; $i<$config->get_int('upload_count'); $i++)