X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=76d2f9326c6be0eab094489a6ad765e07de40a48;hb=509532d168bf716eb24e030ab59476a88ab91571;hp=5c72af156e644f6eb2b96e15b2ed1cbab3e84e9b;hpb=2fe479034cec335079d802eb70f41e4737858b2b;p=friendica.git diff --git a/boot.php b/boot.php index 5c72af156e..76d2f9326c 100755 --- a/boot.php +++ b/boot.php @@ -9,9 +9,9 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1257' ); +define ( 'FRIENDICA_VERSION', '2.3.1275' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); -define ( 'DB_UPDATE_VERSION', 1122 ); +define ( 'DB_UPDATE_VERSION', 1131 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -309,8 +309,12 @@ class App { . 'library/phpsec' . PATH_SEPARATOR . '.' ); - if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'],0,2) === "q=") + if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'],0,2) === "q=") { $this->query_string = substr($_SERVER['QUERY_STRING'],2); + // removing trailing / - maybe a nginx problem + if (substr($this->query_string, 0, 1) == "/") + $this->query_string = substr($this->query_string, 1); + } if(x($_GET,'q')) $this->cmd = trim($_GET['q'],'/\\');