alecpl
2009-07-23 c9e9fe1901631af76be85176434096de1df7f018
program/include/rcube_config.php
@@ -134,8 +134,8 @@
   */
  public function load_from_file($fpath)
  {
    if (is_file($fpath)) {
      @include($fpath);
    if (is_file($fpath) && is_readable($fpath)) {
      include($fpath);
      if (is_array($rcmail_config)) {
        $this->prop = array_merge($this->prop, $rcmail_config);
        return true;
@@ -237,9 +237,9 @@
    // use the configured delimiter for headers
    if (!empty($this->prop['mail_header_delimiter']))
      return $this->prop['mail_header_delimiter'];
    else if (strtolower(substr(PHP_OS, 0, 3) == 'win'))
    else if (strtolower(substr(PHP_OS, 0, 3)) == 'win')
      return "\r\n";
    else if (strtolower(substr(PHP_OS, 0, 3) == 'mac'))
    else if (strtolower(substr(PHP_OS, 0, 3)) == 'mac')
      return "\r\n";
    else
      return "\n";