Exemplo n.º 1
0
 /**
  * @see modFileSystemResource::parseMode
  *
  * @param string $mode
  * @return boolean
  */
 protected function parseMode($mode = '')
 {
     if (empty($mode)) {
         $mode = $this->fileHandler->context->getOption('new_folder_permissions', '0755', $this->fileHandler->config);
     }
     return parent::parseMode($mode);
 }
Exemplo n.º 2
0
 /**
  * @see modFileSystemResource::parseMode
  */
 protected function parseMode($mode = '')
 {
     if (empty($mode)) {
         $mode = $this->modx->getOption('new_folder_permissions', null, '0755');
     }
     return parent::parseMode($mode);
 }