So, here's my situation :
- I have a complete app set up with CodeIgniter.
- I'm initiating a background task, running a PHP script.
My question :
- How could I use CodeIgniter function (e.g.
$this->db
or$CI->db
- doesn't matter) from that external PHP script?
Idea : Could a workaround, like include 'index.php';
at the top of the script do the trick?