Update default.php

fix error $current_url undefined // URL for Social API
Merge pull request #74 from minimaldev/patch-2

Update default.php