Hi,

I'm trying to decoupling a little bit the roundcube base to use in a project.

My problem is that running roundcube in console with only the framework works like a charm but when I try to put in a Symfony2 project I have undefined $index on rcube_imap_cache.


The line is this:
$this->add_index_row($mailbox, $sort_field, $data, $mbox_data, $exists, $index['modseq']);

On the method: function get_index($mailbox, $sort_field = null, $sort_order = null, $existing = false)

My problem is that I cannot find where $index is defined.

Where is that property is constructed?

Regards.