Dashboard patch

Joined
May 17, 2007
Messages
26
Points
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
 
Joined
May 12, 2010
Messages
1,663
Points
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
 
Joined
Sep 28, 2007
Messages
6
Points
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
 

Members online

No members online now.

Forum statistics

Threads
30,987
Messages
131,100
Members
17,716
Latest member
Orbit114
Top