Welcome Guest, Not a member yet? Register   Sign In
Is it okay to use require_once for libraries which aren't CI 'compatible'?
#5

[eluser]dallen33[/eluser]
My bad, it actually does work:
Code:
$this->load->library(array('form_validation', 'simple_html_dom'));

But to use it, my code has to look like this:
Code:
$html = file_get_html($url);

I was originally trying:
Code:
$html = $this->simple_html_dom->file_get_html($url);


Messages In This Thread
Is it okay to use require_once for libraries which aren't CI 'compatible'? - by El Forum - 03-02-2012, 01:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB