next up previous contents
Next: 自訂佈景主題 Up: 目錄 src Previous: view_text.php   Contents

webmail.php

  1. webmail 主程式。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./src/webmail.php /var/www/squirrelmail/src/webmail.php
    --- ./src/webmail.php	2006-08-03 22:48:09.000000000 +0800
    +++ /var/www/squirrelmail/src/webmail.php	2013-05-23 14:29:04.000000000 +0800
    
  2. 修改設定檔位置在 /etc/squirrelmail/config.php。
    @@ -22,7 +22,7 @@
     /* SquirrelMail required files. */
     require_once(SM_PATH . 'functions/global.php');
     require_once(SM_PATH . 'functions/strings.php');
    -require_once(SM_PATH . 'config/config.php');
    +require_once('/etc/squirrelmail/config.php');
     require_once(SM_PATH . 'functions/prefs.php');
     require_once(SM_PATH . 'functions/imap.php');
     require_once(SM_PATH . 'functions/plugin.php');
    


2016-03-11