Update corefunctions.php

Updating shit...