Rename xf/core/function.php to core/function.php