Alternative $this->config>set_item($item, $value) |
(12-01-2019, 09:16 PM)simonickalexs Wrote: Thanks for the reply. It seems that it didn't work to push array to my public $item = [...];. Here's my code: At this point you have discovered the error, but I only make the comment for those of us who come to this post for one reason or another and we do not see a conclusion. Obviously the error is that you are replacing the Scripts array with a single value, instead you can use array_push PHP Code: $ci = new \Config\Packages(); |
Messages In This Thread |
Alternative $this->config>set_item($item, $value) - by simonickalexs - 12-01-2019, 10:20 AM
RE: Alternative $this->config>set_item($item, $value) - by dave friend - 12-01-2019, 06:38 PM
RE: Alternative $this->config>set_item($item, $value) - by simonickalexs - 12-01-2019, 09:16 PM
RE: Alternative $this->config>set_item($item, $value) - by freddy.cruze - 02-02-2021, 09:07 AM
RE: Alternative $this->config>set_item($item, $value) - by paulbalandan - 02-02-2021, 09:56 AM
|