Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ChrisVanMeer Posted December 12, 2017 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!
Nathan Explosion Posted December 12, 2017 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
Adriano Faria Posted December 12, 2017 Posted December 12, 2017 Yes, query only won’t do it. If the cache isn’t updated it won’t have any effect.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.