page counter next up previous contents
Next: display_messages.php Up: 目錄 functions Previous: 檔案比對   Contents

db_prefs.php

  1. 設定檔位置在 /etc/squirrelmail/config.php。
    [root@mail squirrelmail-1.4.8]# diff -uN ./functions/db_prefs.php /var/www/squirrelmail/functions/db_prefs.php--- ./functions/db_prefs.php	2006-04-15 06:27:07.000000000 +0800
    +++ /var/www/squirrelmail/functions/db_prefs.php	2006-12-31 08:18:15.000000000 +0800
    @@ -36,7 +36,7 @@
     /** PostgreSQL */
     define('SMDB_PGSQL', 2);
     
    -require_once(SM_PATH . 'config/config.php');
    +require_once('/etc/squirrelmail/config.php');
     if (!include_once('DB.php')) {
         // same error also in abook_database.php
         require_once(SM_PATH . 'functions/display_messages.php');
    



2016-03-11