next up previous contents
Next: i18n.php Up: 目錄 functions Previous: display_messages.php   Contents

global.php

  1. 設定設定檔位置在 /etc/squirrelmail/config.php。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./functions/global.php /var/www/squirrelmail/functions/global.php
    --- ./functions/global.php	2006-07-29 16:57:52.000000000 +0800
    +++ /var/www/squirrelmail/functions/global.php	2012-04-27 08:58:45.000000000 +0800
    @@ -89,7 +89,7 @@
      * strings.php sets $PHP_SELF.
      */
     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