Dashboard patch

filipok

Joined
May 17, 2007
Messages
26
Likes
0
Points
1
#1
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
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#2
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
 

kalagera

Joined
Sep 28, 2007
Messages
6
Likes
0
Points
0
#3
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
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top