1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 03:10:50 +02:00

Fixes #2938 Added missing e_PAGETITLE in case of default url

This commit is contained in:
Achim Ennenbach
2018-07-12 16:24:18 +02:00
parent 4c692150fe
commit d635f04725

View File

@@ -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);