Removed unused $pun_config in SplLinks function