Rename xf/core/hook.php to core/hook.php