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:
@@ -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);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user