midgard.http is Off
midgard.engine is On
midgard.configuration_file is /tmp/midgard2
midgard_connection::get_instance()->is_connected() returns false after starting lighttpd.
Workaround:
if (!midgard_connection::get_instance()->is_opened()) {
$config = new midgard_config();
$config->read_file_at_path(ini_get('midgard.configuration_file'));
midgard_connection::get_instance()->open_config($config);
}
If midgard.http should be On, it should be documented in INSTALL file with lighttpd case.
Lighttpd and cgi.
midgard2.ini :
midgard.http is Off midgard.engine is On midgard.configuration_file is /tmp/midgard2
midgard_connection::get_instance()->is_connected() returns false after starting lighttpd.
Workaround:
if (!midgard_connection::get_instance()->is_opened()) { $config = new midgard_config(); $config->read_file_at_path(ini_get('midgard.configuration_file')); midgard_connection::get_instance()->open_config($config); }
If midgard.http should be On, it should be documented in INSTALL file with lighttpd case.