[eluser]Nick Jennings[/eluser]
error_reporting is set to E_ALL ... like I said though, the function works fine. it's just that there is no output when run from the command line (the function executes though, i see the DB queries going to the database).
For example: I made a function called "test" in the test controller.
controllers/test.php
Code:
function test() {
echo "TEST\n";
}
when run from a browser, 'TEST' is displayed.
when run from the command-line:
Code:
# php index.php test test
#
nothing...