In the config.php file of Codeigniter are static variables.开发者_如何学C I want to transform as a dynamic variable. I got the variable session and then want to replace into that static variable. how can I do? please give any examples. Thanks.
From Codeigniter User Guide:
If you would like to dynamically set a config item or change an existing one, you can so using:
$this->config->set_item('item_name', 'item_value');
Where item_name is the $config array index you want to change, and item_value is its value.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论