• Adam Wujek's avatar
    [Bug: 1219] rootfs/www: fix problem with uploading the firmware · a71cbce8
    Adam Wujek authored
    PHP code of the web interface was updating values of "upload_max_filesize"
    and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to
    do that, such changes to take place require restart of lighttpd, which was
    never performed. Luckily after the update of /etc/php.ini it was also copied
    to flash at the location /usr/etc/php.ini. Because of this update via
    webinterface worked only when:
    --firmware.php was opened via web browser
    --restart of a switch was performed
    
    The fix contains a patch to set these values in the php.ini and remove
    the update of php.ini by php code.
    
    Set maximum upload limit size to 30M in php.ini.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    a71cbce8
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...