PDA

View Full Version : global_start hook is not used in CMS? Bug?


zero477
03-21-2012, 02:49 AM
Hello all,

I am learning to include php files. Following this article:

https://vborg.vbsupport.ru/showthread.php?t=242454

I managed to include my php file in the FORUM but it does not appear in the CMS .... It seems that the CMS does not use global_start ...

Does anyone know if this is a bug or how can I solve it?

cellarius
03-21-2012, 09:05 AM
This is not a bug. global_start is deprecated in vB4 and not present in the CMS. Try using one of the global_bootstrap_ hooks instead, depending of what you're trying to do.

Also, this is explained in the article thread, on the first page even - did you not read it?

zero477
03-21-2012, 03:35 PM
Thanks Cellarius,

I read it again now, the answer to my question is at the buttom ...

For those who also have the CMS use global_bootstrap_init_start instead of global_start as the hook.