X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fhelper%2Fweb%2Flinks%2Fclass_WebLinkHelper.php;h=688bf14f05d6178e383a1cb14feefd56af20680c;hp=bbec50a6f9fe28e2180859a31acb32db8e49a7c7;hb=2d38dd6724656dedc2786c2e0ea0c8a8c5120b3c;hpb=0cd57c3885f00ad77fc599e53ed2f2d5e7ac267f diff --git a/inc/classes/main/helper/web/links/class_WebLinkHelper.php b/inc/classes/main/helper/web/links/class_WebLinkHelper.php index bbec50a6..688bf14f 100644 --- a/inc/classes/main/helper/web/links/class_WebLinkHelper.php +++ b/inc/classes/main/helper/web/links/class_WebLinkHelper.php @@ -104,13 +104,13 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate { // Determine link base from config now and 'page' request try { - $newLinkBase = $helperInstance->getConfigInstance()->readConfig($configEntry); + $newLinkBase = $helperInstance->getConfigInstance()->getConfigEntry($configEntry); $linkBase = $newLinkBase; } catch (ConfigEntryNotFoundException $e) { // Is the deprecated linkBase not set? if (is_null($linkBase)) { // Then throw again the exception - throw new ConfigEntryNotFoundException(array(__CLASS__, ($configEntry)), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND); + throw new ConfigEntryNotFoundException(array(__CLASS__, ($configEntry)), FrameworkConfiguration::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND); } // END - if }