ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FileServicesLegacyInitialisationAdapter.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
30 {
31  public function getPhpUploadLimitInBytes(): int
32  {
34  }
35 
36  public function getGlobalUploadLimitInBytes(): ?int
37  {
38  global $DIC;
39  if ($DIC->offsetExists('upload_policy_resolver')) {
41  return $DIC['upload_policy_resolver']->getUserUploadSizeLimitInBytes();
42  }
43  return null;
44  }
45 }
getPhpUploadLimitInBytes()
Returns the smaller php-ini option of &#39;post_max_size&#39; and &#39;upload_max_filesize&#39; in bytes...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
getGlobalUploadLimitInBytes()
Returns a global upload limit in bytes, may exceed the.
static getPhpUploadSizeLimitInBytes()