next up previous contents
Next: right_main.php Up: 目錄 src Previous: read_body.php   Contents

redirect.php

  1. 重新導向程式。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./src/redirect.php /var/www/squirrelmail/src/redirect.php
    --- ./src/redirect.php	2006-08-03 23:13:36.000000000 +0800
    +++ /var/www/squirrelmail/src/redirect.php	2012-05-06 16:00:49.000000000 +0800
    
  2. 修改設定檔位置在 /etc/squirrelmail/config.php。
    @@ -21,7 +21,7 @@
     require_once(SM_PATH . 'functions/global.php');
     require_once(SM_PATH . 'functions/i18n.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