Welcome Guest, Not a member yet? Register   Sign In
How reload config file
#1

Hi
I have a script file that when i run it command line and start in loop for accept socket
There is big problem
On start script file,i load config file and i use it in this file
But when i change config file,i have to can access to new data

Example $config['title'] = 'hello';

And run php script.php and waiting...

I change title to world

But because file is running,i cannot access to new data
I try to reload with $this->load->config('my_config')
But it is unless

Please help me
Reply


Messages In This Thread
How reload config file - by omid_student - 02-12-2020, 11:06 AM
RE: How reload config file - by dave friend - 02-12-2020, 12:15 PM
RE: How reload config file - by omid_student - 02-12-2020, 01:26 PM
RE: How reload config file - by dave friend - 02-12-2020, 05:02 PM
RE: How reload config file - by omid_student - 02-13-2020, 12:43 AM
RE: How reload config file - by omid_student - 02-14-2020, 02:41 AM
RE: How reload config file - by InsiteFX - 02-14-2020, 05:39 AM
RE: How reload config file - by omid_student - 02-19-2020, 01:20 AM
RE: How reload config file - by InsiteFX - 02-19-2020, 08:00 AM
RE: How reload config file - by omid_student - 02-25-2020, 12:15 AM
RE: How reload config file - by omid_student - 02-25-2020, 01:59 AM
RE: How reload config file - by murugappan - 02-22-2020, 10:15 PM
RE: How reload config file - by InsiteFX - 02-25-2020, 09:12 AM
RE: How reload config file - by omid_student - 02-25-2020, 09:26 AM
RE: How reload config file - by InsiteFX - 02-25-2020, 12:49 PM
RE: How reload config file - by omid_student - 02-25-2020, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB