claudehohl / Stikked

An advanced and beautiful pastebin written in PHP
991 stars 219 forks source link

Missing pick_language hook. #510

Closed virtualghetto closed 6 years ago

virtualghetto commented 6 years ago

Commit 6da09613 deleted htdocs/application/hooks/pick_language.php to fix #264, but it did not remove the hook from htdocs/application/config/hooks.php.

This commit reverts htdocs/application/config/hooks.php back to f97a5331 and disables $config['enable_hooks'] in htdocs/application/config/config.php. It was introduced in b69c6650.

glensc commented 5 years ago

perhaps release this code change as well, as it changes default config: $config['enable_hooks'] = FALSE;