This topic is locked

How to Lock whole table

3/25/2014 6:35:51 AM
PHPRunner General questions
A
amuro author

Hi,
Could anyone know how to disable a project temporarily?

Sometime I need to maintain data manually, the DB server doesn't shut down.

The users are prohibited from update action. Can PHPRunner implement this?
Or I can only use Mysql Lock table to do this?
Thanks

Sergey Kornilov admin 3/25/2014

Modify file include/dbcommon.php adding the following somewhere in the beginning of the file:

echo "Website is off";

exit();