There is some incorrect formatting in drupal_set_message at the end of the implementation of hook_init().
There is a syntax error in the code.
Also, for performance reasons, move the code to another hook, as hook_init is called on every page.
There is some incorrect formatting in drupal_set_message at the end of the implementation of hook_init().
There is a syntax error in the code.
Also, for performance reasons, move the code to another hook, as hook_init is called on every page.
Comments