summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-14 23:53:30 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-14 23:53:30 +0000
commitdb7e60da32e3feba918cc819a1ef8fada6aec02a (patch)
treec29e16d739ae9696620c8a2782ceeb13895bf274 /core/controllers
parentc46bd97407e2eef500fa224ef7593193e3da6d18 (diff)
Change the watermark module to use forge.
Also the watermark file is now stored in varpath. and the location is stored in the module vars table
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/welcome.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index 3b00a1b8..9e6f9542 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -36,9 +36,7 @@ class Welcome_Controller extends Template_Controller {
$this->template->album_tree = $this->_load_album_tree();
$this->template->add_photo_html = $this->_get_add_photo_html();
if (module::is_installed("watermark")) {
-// $this->template->add_watermark_html = $this->_get_add_watermark_html();
- $this->template->add_watermark_html = new View("watermark_add_form.html");
- $this->template->add_watermark_html->fields = array("file" => "");
+ $this->template->add_watermark_html = $this->_get_add_watermark_html();
} else {
$this->template->add_watermark_html = "";
}