fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

AWL libs are not located automatically #238

Closed tmuncks closed 9 years ago

tmuncks commented 9 years ago

On a brand new install (first time with z-push-contrib), IMAP only Backend enabled, iCalendar keeps complaining about a missing XMLElement.php, even though libawl-php has already been installed.

It took a while for me to identify the issue and in the end, adding the following to top of z-push config.php worked around the problem:

$awlpath = '/usr/share/awl/inc'; set_include_path(get_include_path() . PATH_SEPARATOR . $awlpath);

Perhaps some autodetection would be a better wat to solve this in the code? Or add a config option for it?

fmbiete commented 9 years ago

You need to modify include_path variable in your /etc/php.ini, to add your awl folder. Maybe I should add a explicit note in the INSTALL file.