src/Controller/Base.php
protected function loadConfigs()
    {
        $oConfig = Factory::service('Config');

        $aPaths = [
            NAILS_APP_PATH . 'application/config/admin.php',
            NAILS_APP_PATH . 'application/modules/admin/config/admin.php',
        ];

        foreach ($aPaths as $sPath) {
            if (file_exists($sPath)) {
                $oConfig->load($sPath);
            }
        }
    }
protected function loadConfigs()
    {
        $oConfig = Factory::service('Config');

        $aPaths = [
            NAILS_APP_PATH . 'application/config/admin.php',
            NAILS_APP_PATH . 'application/modules/admin/config/admin.php',
        ];

        foreach ($aPaths as $sPath) {
            if (file_exists($sPath)) {
                $oConfig->load($sPath);
            }
        }
    }
--------------------------------------------------------------------------