ChrisVanMeer Posted December 12, 2017 Share Posted December 12, 2017 For my devops script to copy my production forum > test license forum I am looking for the following. I would like to take the test forum offline after transition. Does anyone know if there is a SQL query to disable this button? If I have that sorted, the only manual thing I need to do is to update the license with the -TESTINSTALL suffix in AdminCP. Thank you! Link to comment Share on other sites More sharing options...
Nathan Explosion Posted December 12, 2017 Share Posted December 12, 2017 UPDATE core_sys_conf_settings SET conf_value = 0 WHERE conf_key = 'site_online' That would be the query but it's not as simple as just running that, I think. See the run and buildDone functions in system\Dispatcher\Build.php Link to comment Share on other sites More sharing options...
Adriano Faria Posted December 12, 2017 Share Posted December 12, 2017 Yes, query only won’t do it. If the cache isn’t updated it won’t have any effect. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.