summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Common/BlogPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog/protected/Common/BlogPage.php')
-rw-r--r--demos/blog/protected/Common/BlogPage.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/blog/protected/Common/BlogPage.php b/demos/blog/protected/Common/BlogPage.php
index f1634a80..f69e4c48 100644
--- a/demos/blog/protected/Common/BlogPage.php
+++ b/demos/blog/protected/Common/BlogPage.php
@@ -2,6 +2,12 @@
class BlogPage extends TPage
{
+ public function onPreInit($param)
+ {
+ parent::onPreInit($param);
+ $this->Theme=$this->Application->Parameters['ThemeName'];
+ }
+
public function getDataAccess()
{
return $this->getApplication()->getModule('data');