Fix function check_internal_url() see Desc...

Remove deprecated code: Function split() is deprecated
Fix Notice: Undefined offset: *
Fix Notice: Undefined variable: *