Changeset 877


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.
Location:
trunk
Files:
4 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
  • trunk/Install/deb/debian/conf/apache.conf

    r873 r877  
    55<Directory /usr/share/wowpreklad>
    66    DirectoryIndex index.php
     7    AllowOverride All
    78</Directory>
  • trunk/Install/deb/debian/control

    r873 r877  
    11Source: wowpreklad
    22Maintainer: Chronos <robie@centrum.cz>
    3 Section: devel
     3Section: web
    44Priority: optional
    55Standards-Version: 1.0.0
  • trunk/Install/deb/debian/install

    r873 r877  
    22*.ico usr/share/wowpreklad
    33*.txt usr/share/wowpreklad
     4.htaccess usr/share/wowpreklad
    45
    56Application usr/share/wowpreklad
Note: See TracChangeset for help on using the changeset viewer.