![]() |
[SOLVED]quick (hopefully easy) question
if i make a plugin at global start execution 1
and another at global complete execution 999 would that be the absolute first and last things triggered or do i need to use a different hook? |
I took a quick look at the code, but it seems that init_startup is the first hook that's called and the last hook called is global_complete. (If print_output is called)
Any script first includes global.php, which then includes /includes/init.php which contains the call to init_startup, after the database connection. |
Thanks Dave,
So would it be best to place Code:
$PagLoadStartTime = microtime(TRUE); Code:
$PagLoadStopTime = microtime(TRUE); |
Yes, although ideally it's placed on top of global.php, but that way it's hardcoded so init_startup would be your best option.
|
thanks again, anything further would be off this topic so Ill make a new thread if needed =) appreciate it!
|
All times are GMT. The time now is 03:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|