[eluser]Unknown[/eluser]
Hi,
If you want to disable (whatever reason you might have) execution variables like {elapsed_time}:
In the documentation it just says to set
Code:
$this->output->parse_exec_vars = FALSE;
in your controller. However this does not work for me because you are trying to access a protected property.
However, this can be resolved pretty easy. Just extend the output class in your "core" directory (My_Output.php):
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Output extends CI_Output {
protected $parse_exec_vars = FALSE;
}
So my question - is this the intended way? If so the documentation should be a bit clearer..