MyXoops Forum

Forum - myXOOPS German Support

2 + 8 = ?  
Geben Sie die Zeichenfolge aus dem Bild ein
Sie haben max. 10 Versuche.
 

Aw: Fotoupload

Betreff: Aw: Fotoupload
von mambax7 am 26.07.2014 08:30:21

Hast Du bereits XOOPS 2.5.7 installiert?

In XOOPS 2.5.7, wir haben in XoopsMediaUploader __construct folgendes gemacht:

$maxUploadInBytes   $this->return_bytes(ini_get('upload_max_filesize'));
$maxPostInBytes     $this->return_bytes(ini_get('post_max_size'));
$memoryLimitInBytes $this->return_bytes(ini_get('memory_limit'));
if (
intval($maxFileSize) > 0) {
   
$maxFileSizeInBytes $this->return_bytes($maxFileSize);
   
$newMaxFileSize     min($maxFileSizeInBytes$maxUploadInBytes$maxPostInBytes$memoryLimitInBytes);
   } else {
       
$newMaxFileSize min($maxUploadInBytes$maxPostInBytes$memoryLimitInBytes);
}
$this->maxFileSize $newMaxFileSize;



Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
OffOffTopic [Wichtig] Übernahme myXOOPS 0 604 11.12.2023 18:57
alfred Gehe zum letzten Beitrag
Die Installation und Administration von XOOPS 2.5.X [Offen] Upgrade 2.5.11 3 2355 07.05.2023 07:03
Goffy Gehe zum letzten Beitrag