fix missing global

This commit is contained in:
Jean-Christian Denis 2021-11-06 15:03:44 +01:00
parent 5672d39b93
commit d4b45921c8
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -26,6 +26,8 @@ class libEPC
public static function defaultAllowedTplValues()
{
global $core;
$rs = new arrayObject([
'entry excerpt' => 'EntryExcerpt',
'entry content' => 'EntryContent',
@ -73,6 +75,8 @@ class libEPC
public static function defaultAllowedPubPages()
{
global $core;
$rs = new arrayObject([
'home page' => 'home.html',
'post page' => 'post.html',