• 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
..
dot-config Loading commit data...
host_tools Loading commit data...
include Loading commit data...
libsdb Loading commit data...
libwr Loading commit data...
mini-rpc @ 28dff055
ppsi @ ab7106d2
rootfs_override Loading commit data...
snmpd Loading commit data...
tools Loading commit data...
wrs_watchdog Loading commit data...
wrsw_hal Loading commit data...
wrsw_rtud Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
devices.tar.gz Loading commit data...