Yeah, call_integration_hook needed some love
Use the pipe sign | for adding a file to load, using : will cause problems with methods
Add a fallback if no wildcard for a path was given, it only tries to check if the file exists on Sources dir
Use more descriptive var names, no more $call[1], $call[0]

Signed-off-by: Suki <suki@missallsunday.com>
Subs::call_hook_helper()
Receives a string and tries to figure it out if its a method or a function.

Signed-off-by: Suki <suki@missallsunday.com>
Add the new instance class to the debug info in Sources/Admin::AdminMain()

Signed-off-by: Suki <suki@missallsunday.com>
Safety first, declare an empty array before using it if it was not previously declared before
Also add instances debug stuff to Profile.php

Signed-off-by: Suki <suki@missallsunday.com>
Add support for static and normal methods in smf_main()

Signed-off-by: Suki <suki@missallsunday.com>
Merge branch 'release-2.1' of git://github.com/SimpleMachines/SMF2.1.git into hooking_goodies
Use the correct var name when logging an error

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1494 from MissAllSunday/hooking_goodies

Hooking goodies