[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
Founder
Founder
Posts: 975
Joined: 12 Mar 2018 20:10
Location: Germany
Contact:

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

Post by 3Di »

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 240 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