[YML] Enable Debug, SQL explain and Load time in phpBB 3.3.x

Code-talk. Anything related to the Studio, extension developing and phpBB coding.


Post Reply
User avatar
3Di
Site Admin
Posts: 481
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[YML] Enable Debug, SQL explain and Load time in phpBB 3.3.x

Post by 3Di » Sun Nov 24, 2019 9:01 pm

The new version of phpBB will be available soon, just yesterday was released the version 3.3.0-b2.

Among the many news for developers and not only there is this one, it will not be possible anymore to enable Debug, SQL explain and Load time from the config.php file.

immagine.png
immagine.png (9.72 KiB) Viewed 35 times

To do this now you need to add the code below to any .yml file somewhere, also into an existing enabled extension (or code a small ext on purpose) - then purge the cache. If you have any doubts ask without hesitation.


immagine.png

To enable debug add these 2 lines to the above.

    debug.show_errors: true
    debug.exceptions: true

A good silence was never written :P


Post Reply