Im use T-dah Webmail, yes i know its very old and i try to rewrite it. Im am stuck in Fatal error: Allowed memory size of 134217728 bytes exhausted in inc/class/class.uebimiau.php on line 975
975 its function:
function fix_prefix($folder,$add = 0) {
if( $this->mail_protocol == "imap" &&
!preg_match("/^inbox$/i",$folder) &&
$this->mail_prefix &&
!preg_match("/^_/",$folder)) {
if($add) {
if(!preg_match('/^'.preg_quote($this->mail_prefix).'/',$folder))
return $this->mail_prefix.$folder;
else
return $folder;
} else return preg_replace("/^".preg_quote($this->mail_prefix)."/","",$folder);
} else return $folder;
}
Problem in preg_match, any ideas?