original_string: public function checkConfigDir()
      {
          if (is_writable(dirname(__FILE__) . '/../../../config'))
              return true;
          
          $this->addError('isConfigDirWritable', Yii::t('Install.main','Configuration directory is not writable. This must be corrected before your settings can be applied.'));
          return false;
      }
code: public function checkConfigDir()
      {
          if (is_writable(dirname(__FILE__) . '/../../../config'))
              return true;
          
          $this->addError('isConfigDirWritable', Yii::t('Install.main','Configuration directory is not writable. This must be corrected before your settings can be applied.'));
          return false;
      }
code_tokens: public function checkConfigDir ( ) { if ( is_writable ( dirname ( __FILE__ ) . '/../../../config' ) ) return true ; $ this -> addError ( 'isConfigDirWritable' , Yii :: t ( 'Install.main' , 'Configuration directory is not writable. This must be corrected before your settings can be applied.' ) ) ; return false ; }
docstring: Validator for checkConfigDir
docstring_tokens: Validator for checkConfigDir