[Owncloud] error in files/admin.php

Uwe Koloska owncloud at koloro.de
Thu Apr 5 19:19:11 UTC 2012


Hello,

the current implementation of files/admin.php doesn't work with another 
activated admin form, because the current code set's some variables in case 
of POST only if the files/admin form has been executed ...

I have activated admin_export and when exporting the variables from the 
admin/files form are not set and and errors occurs.

A fix is in the attached patch.

But there are more problems in this source:
* the current code set's the default in the form from the defaults and
  not from the configured values
* the value for 'maxUploadSize' will be set directly in the .htaccess
  file from the function OC_Files::setUploadLimit(), but this function has
  the content of .htaccess hardcoded
  it is different from the current one -- but what's worse: different from
  a file the user changed

I hope you know what to do with this further errors.

Yours
Uwe Koloska
-------------- next part --------------
A non-text attachment was scrubbed...
Name: files-admin.patch
Type: text/x-diff
Size: 1401 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120405/644515ab/attachment.patch>


More information about the Owncloud mailing list