Changeset 884 for trunk/Application/Core.php
- Timestamp:
- Apr 8, 2020, 7:27:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r883 r884 150 150 function Link($Target) 151 151 { 152 $Remaining = substr($Target, strlen($this->BaseURL)); 152 if (substr($Target, 0, strlen($this->BaseURL)) == $this->BaseURL) 153 $Remaining = substr($Target, strlen($this->BaseURL)); 154 else $Remaining = $Target; 153 155 $TargetParts = explode('/', $Remaining); 154 if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 156 if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 155 157 array_splice($TargetParts, 0, 1); 156 158 if (count($TargetParts) > 0)
Note:
See TracChangeset
for help on using the changeset viewer.