[TYPO3-core] RFC #10717: No simple way to get the maximum upload size in TYPO3
Benjamin Mack
benni at typo3.org
Wed Mar 18 15:28:45 CET 2009
Hey Steffen,
On 18.03.2009 15:08 Uhr, Steffen Kamper wrote:
> i think this function should be placed in extfilefunc as this info is
> only needed for file operations, where the class is instanced anyway in
> most case, when not it's easy to call this static function.
>
> What do you think?
At first I thought so too, however, every time you want to display the
information about the max upload size, you need to include the
t3lib/class.t3lib_extfilefunc.php. This means, because I need it in
file_list.php, in alt_file_navframe.php that I need to include it there
all the time, just because of that.
Personally, it does not matter so much to me. Ideally, it should go in
"t3lib_div_file"
:) to split the div function for each area (file, array, string etc) as
previously mentioned several times, however that would be a separate RFC
(as usual ;-)).
All the best,
Benni.
More information about the TYPO3-team-core
mailing list