next up previous contents
Next: 目錄 plugins Up: 目錄 include Previous: 檔案比對   Contents

personal.php

  1. 變更個人簽名分隔符號由 -- 改成 ++
    [root@mail squirrelmail-1.4.8]# diff -wuN ./include/options/personal.php /var/www/squirrelmail/include/options/personal.php
    --- ./include/options/personal.php	2006-02-04 06:27:51.000000000 +0800
    +++ /var/www/squirrelmail/include/options/personal.php	2012-04-29 20:23:24.000000000 +0800
    @@ -208,7 +208,7 @@
     
         $optvals[SMOPT_GRP_SIG][] = array(
             'name'    => 'prefix_sig',
    -        'caption' => _("Prefix Signature with '-- ' Line"),
    +        'caption' => _("Prefix Signature with '++' Line"),
             'type'    => SMOPT_TYPE_BOOLEAN,
             'refresh' => SMOPT_REFRESH_NONE
         );
    
  2. 設定設定檔位置在 /etc/squirrelmail/config.php。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./include/validate.php /var/www/squirrelmail/include/validate.php
    --- ./include/validate.php	2006-08-08 03:07:44.000000000 +0800
    +++ /var/www/squirrelmail/include/validate.php	2006-12-31 08:18:14.000000000 +0800
    @@ -41,7 +41,7 @@
     require_once(SM_PATH . 'class/mime.class.php');
     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');
     
     /* set the name of the session cookie */
     if(isset($session_name) && $session_name) {
    


2016-03-11