mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +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:
@@ -29,6 +29,12 @@ e107::css('gallery', 'css/gallery.css');
|
|||||||
// Load prettyPhoto settings and files.
|
// Load prettyPhoto settings and files.
|
||||||
gallery_load_prettyphoto();
|
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);
|
require_once(HEADERF);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user