fix export, web_path was not set correctly
[phpfspot.git] / phpfspot.class.php
index 3f06a8772c28de6e091d6a49e3f66f50558ffd12..60521adf247c2a15ed98d3f6a6abc4de7917e05f 100644 (file)
@@ -299,11 +299,15 @@ class PHPFSPOT {
                }
                break;
             case 'export':
-               $this->tmpl->show("export.tpl");
+               /* fetch export template */
+               print $this->tmpl->fetch("export.tpl");
+               /* no further execution necessary. */
                return;
                break;
             case 'slideshow':
-               $this->tmpl->show("slideshow.tpl");
+               /* fetch slideshow template */
+               print $this->tmpl->show("slideshow.tpl");
+               /* no further execution necessary. */
                return;
                break;
             case 'rss':