fix missing global
This commit is contained in:
parent
5672d39b93
commit
d4b45921c8
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user