[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 322/323: Fix : not reliable
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 322/323: Fix : not reliable |
Date: |
Wed, 14 Mar 2018 17:39:15 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e9a89cf078789a7a9be129c8700dd397aaf56a19
Author: Dany De Bontridder <address@hidden>
Date: Mon Mar 12 23:18:29 2018 +0100
Fix : not reliable
---
include/constant.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/constant.php b/include/constant.php
index afa6e05..cc46c60 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -317,7 +317,11 @@ define ("PINDG","");
// Url of NOALYSS (http://...)
//
if ( ! defined ("NOALYSS_URL")) {
- $base=$_SERVER['REQUEST_SCHEME'].'://'.
+ $protocol="http";
+ if ( isset ($_SERVER['REQUEST_SCHEME'] )) {
+ $protocol=$_SERVER['REQUEST_SCHEME'];
+ }
+ $base=$protocol.'://'.
$_SERVER['HTTP_HOST'].
":".$_SERVER['SERVER_PORT'].
dirname($_SERVER['PHP_SELF']);
- [Noalyss-commit] [noalyss] 221/323: Calc : hightlight result, (continued)
- [Noalyss-commit] [noalyss] 221/323: Calc : hightlight result, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 238/323: Icon_Action::trash remove unwanted char, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 304/323: Task #0001563: Achat mémoriser également 3 champs (suite), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 321/323: Improve upgradeCore, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 320/323: Bug : Cannot upgrade core, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 241/323: HttpInput::extract fix bug, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 297/323: plugin : add explanation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 284/323: CSS : box_search_card , hidden if width < 804px, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 232/323: Typo, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 242/323: ajax_card : warning if there is no category of cards, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 322/323: Fix : not reliable,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 277/323: Do not propose disable ledger for new operation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 187/323: SQL : account_repository, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 278/323: New Favicon, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 282/323: CSS : color in selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 251/323: InPlaceEdit : cosmetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 279/323: Suivi : autres action: box déplacée vers la droite, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 272/323: CSS : change selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 274/323: COSMETIC : hightlight result, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 295/323: install plugin : cosmétique, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 301/323: Some dialog must be fixed, Dany De Bontridder, 2018/03/14