user4177805
user4177805

Reputation:

Bluz framework enable errors

How to enable errors in Bluz framework ? By default it doesn't show errors.

Upvotes: 2

Views: 60

Answers (1)

dyachenko
dyachenko

Reputation: 1212

you can set BLUZ_DEBUG cookie on page /system/bookmarks or in path_to_project/public/index.php find

$debugKey = getenv('BLUZ_DEBUG_KEY') ?: 'BLUZ_DEBUG'; if (isset($_COOKIE[$debugKey])) { putenv('BLUZ_DEBUG=1'); }

end replace to

putenv('BLUZ_DEBUG=1');

see https://github.com/bluzphp/skeleton/wiki/Module-System but Russian

Upvotes: 1

Related Questions