Nirjonadda Well-known member May 26, 2018 #1 How can Disabling Add-ons via config.php? I have not find out any info in Config.php options. Does still working XF1 code for Disabling Add-ons via config.php?
How can Disabling Add-ons via config.php? I have not find out any info in Config.php options. Does still working XF1 code for Disabling Add-ons via config.php?
P Paul B XenForo moderator Staff member May 26, 2018 #2 The page you linked to clearly shows that same line of code used in XF2. Upvote 1 Downvote
Nirjonadda Well-known member May 26, 2018 #3 Brogan said: The page you linked to clearly shows that same line of code used in XF2. Click to expand... I am asked because adding this code $config['enableListeners'] = false; getting error and no node showing. Oops! We ran into some problems. The requested page could not be found. Click to expand... Upvote -2 Downvote
Brogan said: The page you linked to clearly shows that same line of code used in XF2. Click to expand... I am asked because adding this code $config['enableListeners'] = false; getting error and no node showing. Oops! We ran into some problems. The requested page could not be found. Click to expand...
Ozzy47 Well-known member May 26, 2018 #4 You editing the src/config.php file or the config.php file? Upvote 0 Downvote
Nirjonadda Well-known member May 26, 2018 #5 ozzy47 said: src/config.php file Click to expand... Yes, XF2 config.php files location. Upvote 0 Downvote
Snog Well-known member May 26, 2018 #6 The 'enableListeners' in config.php doesn't disable everything. If you need to disable all add-ons completely, click the 'Disable all' button in the admin add-ons area. Upvote 0 Downvote
The 'enableListeners' in config.php doesn't disable everything. If you need to disable all add-ons completely, click the 'Disable all' button in the admin add-ons area.