Answers for "codeigniter 4 get config variables"

PHP
1

access config variable in codeigniter controller

// config.php
$config['foo'] = 'bar';

// controller
$this->config->item('foo');
Posted by: Guest on March-15-2021

Code answers related to "codeigniter 4 get config variables"

Browse Popular Code Answers by Language