mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed the lost value for the config max_file_size.
(cherry picked from commit d2e57f2ec889d292552435ee5df536c730ff2443)
This commit is contained in:
parent
174726e253
commit
c46bdc5087
@ -1329,6 +1329,12 @@ function config_process_config () {
|
|||||||
config_update_value ('session_timeout', 90);
|
config_update_value ('session_timeout', 90);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset ($config["max_file_size"])) {
|
||||||
|
config_update_value ('max_file_size', "2M");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Finally, check if any value was overwritten in a form */
|
/* Finally, check if any value was overwritten in a form */
|
||||||
config_update_config();
|
config_update_config();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user