diff --git a/inc/lib.epc.php b/inc/lib.epc.php index 01a81ea..ac4f56a 100644 --- a/inc/lib.epc.php +++ b/inc/lib.epc.php @@ -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',