@@ 784-794 (lines=11) @@ | ||
781 | } |
|
782 | ||
783 | // manualy add archivers |
|
784 | if (!empty($this->options['archivers']['create']) && is_array($this->options['archivers']['create'])) { |
|
785 | foreach ($this->options['archivers']['create'] as $mime => $conf) { |
|
786 | if (strpos($mime, 'application/') === 0 |
|
787 | && !empty($conf['cmd']) |
|
788 | && isset($conf['argc']) |
|
789 | && !empty($conf['ext']) |
|
790 | && !isset($this->archivers['create'][$mime])) { |
|
791 | $this->archivers['create'][$mime] = $conf; |
|
792 | } |
|
793 | } |
|
794 | } |
|
795 | ||
796 | if (!empty($this->options['archivers']['extract']) && is_array($this->options['archivers']['extract'])) { |
|
797 | foreach ($this->options['archivers']['extract'] as $mime => $conf) { |
|
@@ 796-806 (lines=11) @@ | ||
793 | } |
|
794 | } |
|
795 | ||
796 | if (!empty($this->options['archivers']['extract']) && is_array($this->options['archivers']['extract'])) { |
|
797 | foreach ($this->options['archivers']['extract'] as $mime => $conf) { |
|
798 | if (strpos($mime, 'application/') === 0 |
|
799 | && !empty($conf['cmd']) |
|
800 | && isset($conf['argc']) |
|
801 | && !empty($conf['ext']) |
|
802 | && !isset($this->archivers['extract'][$mime])) { |
|
803 | $this->archivers['extract'][$mime] = $conf; |
|
804 | } |
|
805 | } |
|
806 | } |
|
807 | ||
808 | $this->configure(); |
|
809 | // echo $this->uploadMaxSize; |