Does anyone have the code

renegade9999

New Member
I know it's out there I had it once but lost it.

Does anyone have the code and instruction on how to disable ALL mods and hacks by inputting it into the php files on the server?
 

bluescorpion

New Member
absinth said:
config.php,add define('DISABLE_HOOKS', true);


To the top of the config.php file, just after the opening <?php tag, add:

PHP:
define('DISABLE_HOOKS', true);

When you want to disable it, rather than deleting, comment it out like:

PHP:
// define('DISABLE_HOOKS', true);
 
Top