mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-82286 core: Set serialize_precision to current PHP default
This commit is contained in:
parent
fd487cd3f2
commit
6fb557f1be
@ -256,7 +256,7 @@ if (!isset($_SERVER['REMOTE_ADDR']) && isset($_SERVER['argv'][0])) {
|
||||
|
||||
// sometimes default PHP settings are borked on shared hosting servers, I wonder why they have to do that??
|
||||
ini_set('precision', 14); // needed for upgrades and gradebook
|
||||
ini_set('serialize_precision', 17); // Make float serialization consistent on all systems.
|
||||
ini_set('serialize_precision', -1); // Make float serialization consistent on all systems.
|
||||
|
||||
// Scripts may request no debug and error messages in output
|
||||
// please note it must be defined before including the config.php script
|
||||
|
Loading…
x
Reference in New Issue
Block a user