next up previous contents
Next: global.php Up: 目錄 functions Previous: db_prefs.php   Contents

display_messages.php

  1. 設定設定檔位置在 /etc/squirrelmail/config.php。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./functions/display_messages.php /var/www/squirrelmail/functions/display_messages.php
    --- ./functions/display_messages.php	2006-05-15 01:45:29.000000000 +0800
    +++ /var/www/squirrelmail/functions/display_messages.php	2012-10-02 10:01:52.000000000 +0800
    @@ -42,7 +42,7 @@
         include_once( SM_PATH . 'functions/page_header.php' );
         if ( !isset( $org_logo ) ) {
             // Don't know yet why, but in some accesses $org_logo is not set.
    -        include( SM_PATH . 'config/config.php' );
    +        include( '/etc/squirrelmail/config.php' );
         }
         /* Display width and height like good little people */
         $width_and_height = '';
    



2016-03-11