Google News
logo
CodeIgniter - Interview Questions
What does the is_cli() method does in Codeigniter?
The is_cli() method in the Codeigniter checks if the request is originated from the command line or not.
 
It returns TRUE if the application is run through the command line and FALSE if not.
Advertisement