1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Merge pull request #3272 from SimSync/fix_2938

Fixes #2938 Added missing e_PAGETITLE in case of default url
This commit is contained in:
Cameron
2018-07-12 13:49:07 -07:00
committed by GitHub

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