Revize 2365
Přidáno uživatelem David Raška před asi 10 roky(ů)
freenetis/branches/1.2/application/controllers/settings.php | ||
---|---|---|
|
||
if (!$upload_max_filesize_changed)
|
||
{
|
||
$htaccessFile[] = 'php_value upload_max_filesize '.$form_data['upload_max_filesize'].'\n';
|
||
$htaccessFile[] = 'php_value post_max_size '.$form_data['upload_max_filesize'].'\n';
|
||
$htaccessFile[] = "\nphp_value upload_max_filesize ".$form_data['upload_max_filesize'];
|
||
$htaccessFile[] = "\nphp_value post_max_size ".$form_data['upload_max_filesize'];
|
||
}
|
||
|
||
$handle = @fopen('.htaccess', 'w');
|
Také k dispozici: Unified diff
Upravy:
- refs #935: Oprava spatneho generovani souboru .htaccess pri nastavovani limitu velikosti uploadovaneho souboru