source/Core/Config.php
protected function _setDefaults()
    {
        $this->setConfigParam('sTheme', 'azure');

        if (is_null($this->getConfigParam('sDefaultLang'))) {
            $this->setConfigParam('sDefaultLang', 0);
        }

        if (is_null($this->getConfigParam('blLogChangesInAdmin'))) {
            $this->setConfigParam('blLogChangesInAdmin', false);
        }

        if (is_null($this->getConfigParam('blCheckTemplates'))) {
            $this->setConfigParam('blCheckTemplates', false);
        }

        if (is_null($this->getConfigParam('blAllowArticlesubclass'))) {
            $this->setConfigParam('blAllowArticlesubclass', false);
        }

        if (is_null($this->getConfigParam('iAdminListSize'))) {
            $this->setConfigParam('iAdminListSize', 9);
        }

        // #1173M  for EE - not all pic are deleted
        if (is_null($this->getConfigParam('iPicCount'))) {
            $this->setConfigParam('iPicCount', 12);
        }

        if (is_null($this->getConfigParam('iZoomPicCount'))) {
            $this->setConfigParam('iZoomPicCount', 4);
        }

        if (is_null($this->getConfigParam('iDebug'))) {
            $this->setConfigParam('iDebug', $this->isProductiveMode() ? 0 : -1);
        }

        $this->setConfigParam('sCoreDir', __DIR__ . DIRECTORY_SEPARATOR);
    }
protected function _setDefaults()
    {
        $this->setConfigParam('sTheme', 'azure');

        if (is_null($this->getConfigParam('sDefaultLang'))) {
            $this->setConfigParam('sDefaultLang', 0);
        }

        if (is_null($this->getConfigParam('blLogChangesInAdmin'))) {
            $this->setConfigParam('blLogChangesInAdmin', false);
        }

        if (is_null($this->getConfigParam('blCheckTemplates'))) {
            $this->setConfigParam('blCheckTemplates', false);
        }

        if (is_null($this->getConfigParam('blAllowArticlesubclass'))) {
            $this->setConfigParam('blAllowArticlesubclass', false);
        }

        if (is_null($this->getConfigParam('iAdminListSize'))) {
            $this->setConfigParam('iAdminListSize', 9);
        }

        // #1173M  for EE - not all pic are deleted
        if (is_null($this->getConfigParam('iPicCount'))) {
            $this->setConfigParam('iPicCount', 12);
        }

        if (is_null($this->getConfigParam('iZoomPicCount'))) {
            $this->setConfigParam('iZoomPicCount', 4);
        }

        if (is_null($this->getConfigParam('iDebug'))) {
            $this->setConfigParam('iDebug', $this->isProductiveMode() ? 0 : -1);
        }

        $this->setConfigParam('sCoreDir', __DIR__ . DIRECTORY_SEPARATOR);
    }
protected function _setDefaults ( ) { $ this -> setConfigParam ( 'sTheme' , 'azure' ) ; if ( is_null ( $ this -> getConfigParam ( 'sDefaultLang' ) ) ) { $ this -> setConfigParam ( 'sDefaultLang' , 0 ) ; } if ( is_null ( $ this -> getConfigParam ( 'blLogChangesInAdmin' ) ) ) { $ this -> setConfigParam ( 'blLogChangesInAdmin' , false ) ; } if ( is_null ( $ this -> getConfigParam ( 'blCheckTemplates' ) ) ) { $ this -> setConfigParam ( 'blCheckTemplates' , false ) ; } if ( is_null ( $ this -> getConfigParam ( 'blAllowArticlesubclass' ) ) ) { $ this -> setConfigParam ( 'blAllowArticlesubclass' , false ) ; } if ( is_null ( $ this -> getConfigParam ( 'iAdminListSize' ) ) ) { $ this -> setConfigParam ( 'iAdminListSize' , 9 ) ; } // #1173M  for EE - not all pic are deleted if ( is_null ( $ this -> getConfigParam ( 'iPicCount' ) ) ) { $ this -> setConfigParam ( 'iPicCount' , 12 ) ; } if ( is_null ( $ this -> getConfigParam ( 'iZoomPicCount' ) ) ) { $ this -> setConfigParam ( 'iZoomPicCount' , 4 ) ; } if ( is_null ( $ this -> getConfigParam ( 'iDebug' ) ) ) { $ this -> setConfigParam ( 'iDebug' , $ this -> isProductiveMode ( ) ? 0 : - 1 ) ; } $ this -> setConfigParam ( 'sCoreDir' , __DIR__ . DIRECTORY_SEPARATOR ) ; }
Set important defaults.
Set important defaults .