Changeset 878 for trunk/Application


Ignore:
Timestamp:
Jul 21, 2018, 12:44:47 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Wrong usage of count instead of strlen in URL checking.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r877 r878  
    150150  function Link($Target)
    151151  {
    152     $Remaining = substr($Target, count($this->BaseURL));
     152    $Remaining = substr($Target, strlen($this->BaseURL));
    153153    $TargetParts = explode('/', $Remaining);
    154154    if(count($TargetParts) > 0)
Note: See TracChangeset for help on using the changeset viewer.