fix missing global
This commit is contained in:
parent
5672d39b93
commit
d4b45921c8
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,8 @@ class libEPC
|
||||||
|
|
||||||
public static function defaultAllowedTplValues()
|
public static function defaultAllowedTplValues()
|
||||||
{
|
{
|
||||||
|
global $core;
|
||||||
|
|
||||||
$rs = new arrayObject([
|
$rs = new arrayObject([
|
||||||
'entry excerpt' => 'EntryExcerpt',
|
'entry excerpt' => 'EntryExcerpt',
|
||||||
'entry content' => 'EntryContent',
|
'entry content' => 'EntryContent',
|
||||||
|
@ -73,6 +75,8 @@ class libEPC
|
||||||
|
|
||||||
public static function defaultAllowedPubPages()
|
public static function defaultAllowedPubPages()
|
||||||
{
|
{
|
||||||
|
global $core;
|
||||||
|
|
||||||
$rs = new arrayObject([
|
$rs = new arrayObject([
|
||||||
'home page' => 'home.html',
|
'home page' => 'home.html',
|
||||||
'post page' => 'post.html',
|
'post page' => 'post.html',
|
||||||
|
|
Loading…
Reference in a new issue