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

(02-19-2020, 08:00 AM)InsiteFX Wrote: You could make your own config file and always load that one when needed.
using the config load method.
Please see my code :
PHP Code:
include APPPATH.'config/my_config.php';
            echo 
config_item('from_email'); 

When i receive new signal from user,i try to load again file and send new data
but not loading correctly and i dont have new data
Why?

(I use socket in this project and when i receive new packet,i check it and return valid data)
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