From d635f0472564d1aabc119b37b3ae64b32593e1c0 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Thu, 12 Jul 2018 16:24:18 +0200 Subject: [PATCH] Fixes #2938 Added missing e_PAGETITLE in case of default url --- e107_plugins/gallery/gallery.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e107_plugins/gallery/gallery.php b/e107_plugins/gallery/gallery.php index 727222432..bf4a78368 100644 --- a/e107_plugins/gallery/gallery.php +++ b/e107_plugins/gallery/gallery.php @@ -29,6 +29,12 @@ e107::css('gallery', 'css/gallery.css'); // Load prettyPhoto settings and files. gallery_load_prettyphoto(); +// @see: Issue #2938 Missing pagetitle in case of default urls. +if (!class_exists('plugin_gallery_index_controller') && !deftrue('e_PAGETITLE')) +{ + define('e_PAGETITLE', LAN_PLUGIN_GALLERY_TITLE); +} + require_once(HEADERF);