Allow $phpSelf to be identical to $index
Merge pull request #988 from jeromegamez/EZP-22982_to_slash_or_not_to_slash

EZP-22982: Allow $phpSelf to be identical to $index