src/Money/Module/Error/Controller/Error.php
public function runBefore()
    {
        User::checkAuthentication();

        $this->themeName  = Config::getInstance()->get('Eureka\Global\Theme\php\theme');
        $this->themePath  = __DIR__ . EKA_SEP . '..' . EKA_SEP . 'Template' . EKA_SEP . $this->themeName;

        $layoutPath       = Config::getInstance()->get('Eureka\Global\Theme\php\layout');
        $this->layoutPath = $layoutPath . EKA_SEP . 'Template' . EKA_SEP . $this->themeName;
    }
public function runBefore()
    {
        User::checkAuthentication();

        $this->themeName  = Config::getInstance()->get('Eureka\Global\Theme\php\theme');
        $this->themePath  = __DIR__ . EKA_SEP . '..' . EKA_SEP . 'Template' . EKA_SEP . $this->themeName;

        $layoutPath       = Config::getInstance()->get('Eureka\Global\Theme\php\layout');
        $this->layoutPath = $layoutPath . EKA_SEP . 'Template' . EKA_SEP . $this->themeName;
    }
Before method. Always called before each action.

@return void