Ignore:
Timestamp:
Oct 4, 2017, 11:04:33 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Install correctly .htaccess file.
  • Fixed: Missing last letter in base URL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r864 r877  
    6161
    6262    if(GetRemoteAddress() != '')
    63       $this->BaseURL = substr($_SERVER["CONTEXT_PREFIX"], 0, -1);
     63    {
     64      $this->BaseURL = $_SERVER["CONTEXT_PREFIX"];
     65      if (substr($this->BaseURL, -1, 1) == '/') $this->BaseURL = substr($this->BaseURL, 0, -1);
     66    }
    6467    $this->PathItems = ProcessURL();
    6568
Note: See TracChangeset for help on using the changeset viewer.