[SPIP] Proposé : _DATA_SOURCE_MAX_SIZE

SPIP

Article proposé

L’article « ** _DATA_SOURCE_MAX_SIZE**
(SPIP) » est proposé
à la publication depuis le jeudi 5 janvier 2023.


_DATA_SOURCE_MAX_SIZE

jeudi 5 janvier 2023 , par jack

The constant _DATA_SOURCE_MAX_SIZE defines the maximum size of data
that can be retrieved by a DATA loop. By default, this constant is set to 2
MB.

It is possible to customize the value of the constant
_DATA_SOURCE_MAX_SIZE in your file config/mes_options.php (see the
article dedicated to it
(SPIP)).

Example :

// allow DATA loops to retrieve 3 MB of data


define

 (http://www.php.net/define)

(


'_DATA_SOURCE_MAX_SIZE'


,


3


*


1048576


)


;

— Envoyé par SPIP (https://www.spip.net/)

rubon199-7e493.jpg