Beispiel #1
0
 public function init()
 {
     $this->preparePaths();
     $this->publishAssets();
     $fileMaxSize['postSize'] = toBytes(ini_get('post_max_size'));
     $fileMaxSize['uploadSize'] = toBytes(ini_get('upload_max_filesize'));
     $this->fileMaxSize = min($fileMaxSize);
     $this->fileMaxSizeMessage = self::formatBytes($this->fileMaxSize);
     parent::init();
 }