code/Debug/Model/Service.php
public function getModuleConfigFilePath($moduleName)
    {
        $config = $this->getConfig();
        $moduleConfig = $config->getModuleConfig($moduleName);

        if (!$moduleConfig) {
            throw  new Exception("Unable to find module '{$moduleName}'");
        }

        return $config->getOptions()->getEtcDir() . DS . 'modules' . DS . $moduleName . '.xml';
    }
public function getModuleConfigFilePath($moduleName)
    {
        $config = $this->getConfig();
        $moduleConfig = $config->getModuleConfig($moduleName);

        if (!$moduleConfig) {
            throw  new Exception("Unable to find module '{$moduleName}'");
        }

        return $config->getOptions()->getEtcDir() . DS . 'modules' . DS . $moduleName . '.xml';
    }
public function getModuleConfigFilePath ( $ moduleName ) { $ config = $ this -> getConfig ( ) ; $ moduleConfig = $ config -> getModuleConfig ( $ moduleName ) ; if ( ! $ moduleConfig ) { throw new Exception ( "Unable to find module '{$moduleName}'" ) ; } return $ config -> getOptions ( ) -> getEtcDir ( ) . DS . 'modules' . DS . $ moduleName . '.xml' ; }
Returns module configuration file

@param $moduleName
@return string
@throws Exception
Returns module configuration file