Dashboard patch

Discussion in 'General' started by filipok, Nov 2, 2008.

  1. filipok

    Joined:
    May 17, 2007
    Messages:
    26
    Likes Received:
    0
    After a yum update in elastix 1.3-2, the e-mail section en the dashboard module doesn't work and it displays the message "Imap: Conection error."
    I make a patch which fix the problem in the file
    Code:
    /var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php
    , you can download it here
     
  2. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Good job.
    Anyway. I prefer to do it like this, so I can integrate it easier in my post-install script:

    Code:
    mv /var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php  /var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php.`date +%Y.%m.%d`
    sed "s/localhost\:143\}/localhost\:143\/notls\}/g" /var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php.`date +%Y.%m.%d` > /var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php
    
     
  3. kalagera

    Joined:
    Sep 28, 2007
    Messages:
    6
    Likes Received:
    0
    hello, i tried this code i got an error:>> mv: target `/var/www/html/modules/dashboard/libs/paloSantoDashboard.class.php.2008.12.01' is not a directory
     

Share This Page