Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dio-el-claire committed Feb 27, 2013
1 parent 22cd9cf commit 7f59c13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions php/connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ function validName($name) {
'tmbBgColor' => 'transparent',
'accessControl' => 'access',
'acceptedName' => '/^[^\.].*$/',
// 'disabled' => array('extract', 'archive'),
// 'tmbSize' => 128,
'attributes' => array(
array(
Expand Down
6 changes: 4 additions & 2 deletions php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,10 @@ public function options($hash) {
'separator' => $this->separator,
'copyOverwrite' => intval($this->options['copyOverwrite']),
'archivers' => array(
'create' => array_keys($this->archivers['create']),
'extract' => array_keys($this->archivers['extract'])
// 'create' => array_keys($this->archivers['create']),
// 'extract' => array_keys($this->archivers['extract']),
'create' => is_array($this->archivers['create']) ? array_keys($this->archivers['create']) : array(),
'extract' => is_array($this->archivers['extract']) ? array_keys($this->archivers['extract']) : array()
)
);
}
Expand Down

0 comments on commit 7f59c13

Please sign in to comment.