title: T-dah Webmail Allowed memory size
body: <p>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</p>
  
  <p>975 its function:</p>
  
  <pre><code>function fix_prefix($folder,$add = 0) {
      if(     $this-&gt;mail_protocol == "imap" &amp;&amp;
              !preg_match("/^inbox$/i",$folder) &amp;&amp; 
              $this-&gt;mail_prefix &amp;&amp; 
              !preg_match("/^_/",$folder)) {
  
          if($add) {
              if(!preg_match('/^'.preg_quote($this-&gt;mail_prefix).'/',$folder)) 
                  return $this-&gt;mail_prefix.$folder;
              else
                  return $folder;
          } else return preg_replace("/^".preg_quote($this-&gt;mail_prefix)."/","",$folder);
      } else return $folder;
  }
  </code></pre>
  
  <p>Problem in preg_match, any ideas?</p>