From 739995057436571737b1a36cd7446f8990a5bb38 Mon Sep 17 00:00:00 2001 From: lutranf Date: Thu, 7 Aug 2014 16:48:46 +0200 Subject: [PATCH] fix argv assignments to REQUEST and GET --- inc/databap.php | 3 ++- inc/toolbox.php | 1 + todo | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/inc/databap.php b/inc/databap.php index cc45c32..f356d3b 100644 --- a/inc/databap.php +++ b/inc/databap.php @@ -518,6 +518,7 @@ class Databap extends PhpObject '/community/bw-hana/blog'); //TODO add http://www.biportal.org/sap_bi_blog + //TODO add http://sapbwbw.com/ foreach($asBlogPaths as $sSAPBlogPath) { $sSAPBlogUrl = $sSAPDomain.$sSAPBlogPath; @@ -542,7 +543,7 @@ class Databap extends PhpObject $asArticleInfo['link'] = $oLink->getAttribute('href'); $asArticleInfo['date'] = mb_substr(str_replace(array($sSAPBlogUrl.'/', '/'), array('', '-'), $asArticleInfo['link']), 0, 10); break; - //Author + //Author case 'jiveTT-hover-user jive-username-link': $asNames = array_filter(explode(' ', ToolBox::mb_ucwords(trim($oLink->nodeValue)))); $asArticleInfo['first_name'] = array_shift($asNames); diff --git a/inc/toolbox.php b/inc/toolbox.php index 96e5f44..197a65c 100644 --- a/inc/toolbox.php +++ b/inc/toolbox.php @@ -37,6 +37,7 @@ class ToolBox { //Add CLI arguments if(defined('STDIN')) mb_parse_str(implode('&', array_slice($argv, 1)), $_GET); + $_REQUEST = array_merge($_GET, $_REQUEST); //Add Server Name $sServerName = array_key_exists('SERVER_NAME', $_SERVER)?$_SERVER['SERVER_NAME']:$_SERVER['PWD']; diff --git a/todo b/todo index e3eb10d..0b77c0a 100644 --- a/todo +++ b/todo @@ -13,6 +13,8 @@ Bug fix: - Fix les "xxx se déconnecte" intempestives Améliorations +- [1.0.0] Importer la liste des tables de Christophe +- Ajouter les blogs sap (see databap.php) - Son pour les nouveaux messages - liste complète : ajouter des tabs pour sélectionner soit code, soit article, soit table... - [1.1.0] Chat : compatibilité mobile (utiliser la fonctionnalité ff)