From 87b903c543d8279a9667a6de71c6ae436247a1df Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 9 Jun 2014 15:25:16 -0400 Subject: [PATCH] update for work on vserver and add header images add output in template object for header images comment out for use in vserver php5.3 --- Toolkit/Page.php | 7 +++++++ config/server.ini | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 7832075..3d3116a 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -456,6 +456,13 @@ class Toolkit_Page $this->mainNav = $this->_getMainNav($this->_catid); $this->sideNav = $this->_getSideNav($this->_catid); + $headerDisplay = new Toolkit_HeaderImages_Display( + $this->_catid, + Toolkit_Database::getInstance() + ); + $this->headerImage = $headerDisplay->getPageHeaderImage(); + $this->headerBaseImageUrl = FILE_SERVER_URL . IS_OWNER_ID . '/headerImage/'; + $this->newsletterAction = Toolkit_Template_Page::getSeoUrl( $this->_pageGateway, 10 ); diff --git a/config/server.ini b/config/server.ini index e6668b9..f5bd994 100644 --- a/config/server.ini +++ b/config/server.ini @@ -258,8 +258,8 @@ app.base_secure_url = "https://vserver/app.gaslightmedia.com/" database.params.host = "devdb" error.reporting[] = E_ALL error.reporting[] = E_NOTICE -error.reporting[] = E_STRICT -error.reporting[] = E_WARNING +;error.reporting[] = E_STRICT +;error.reporting[] = E_WARNING email.owner = "steve+owner@localhost" email.contact = "steve+contact@localhost" -- 2.17.1