I try it some times, but there come evetime a Error-Message like this:
patching file program/include/rcube_imap.inc
patch: **** malformed patch at line 4: if (!is_array($a_folders) || !sizeof($a_folders))
When I delete this file IŽll get error-messages at other places in you little skript.
Is it possible that you have forgotten some +
or other things ?