Changeset 883 for trunk/Application/Core.php
- Timestamp:
- Apr 8, 2020, 1:22:26 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r880 r883 152 152 $Remaining = substr($Target, strlen($this->BaseURL)); 153 153 $TargetParts = explode('/', $Remaining); 154 if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 155 array_splice($TargetParts, 0, 1); 154 156 if (count($TargetParts) > 0) 155 157 { 156 158 if (in_array($TargetParts[0], $this->LinkLocaleExceptions)) 157 159 { 158 return$this->BaseURL.$Target;159 } 160 } 161 return $ this->LinkLocale($Target);160 $Result = $this->BaseURL.$Target; 161 } else $Result = $this->LinkLocale($Target); 162 } else $Result = $this->LinkLocale($Target); 163 return $Result; 162 164 } 163 165
Note:
See TracChangeset
for help on using the changeset viewer.