From 855dea57e7e08371da064f80f6a66a71ede65a65 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Sep 2011 15:08:49 +0000 Subject: [PATCH] New: Show param to overwite lib path --- build/rpm/dolibarr_fedora.spec | 2 -- htdocs/webservices/admin/webservices.php | 5 +++-- htdocs/webservices/index.php | 3 --- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build/rpm/dolibarr_fedora.spec b/build/rpm/dolibarr_fedora.spec index 46079f3c665..81112a18cab 100755 --- a/build/rpm/dolibarr_fedora.spec +++ b/build/rpm/dolibarr_fedora.spec @@ -103,8 +103,6 @@ cui hai bisogno ed essere facile da usare. %{__cp} -pr build/tgz/* $RPM_BUILD_ROOT%{_datadir}/%{name}/build/tgz %{__cp} -pr htdocs $RPM_BUILD_ROOT%{_datadir}/%{name} %{__cp} -pr scripts $RPM_BUILD_ROOT%{_datadir}/%{name} -%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/adodbtime -%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/includes/nusoap # Lang for i in $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs/langs/*_* diff --git a/htdocs/webservices/admin/webservices.php b/htdocs/webservices/admin/webservices.php index 128b13106e6..8ab85c8ee05 100644 --- a/htdocs/webservices/admin/webservices.php +++ b/htdocs/webservices/admin/webservices.php @@ -2,7 +2,7 @@ /* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2005-2010 Laurent Destailleur * Copyright (C) 2011 Juanjo Menent - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -92,7 +92,7 @@ print ""; print ''; -dol_htmloutput_mesg($mesg); +if ($mesg) print '
'.$mesg; print '

'; @@ -140,6 +140,7 @@ if ($conf->fournisseur->enabled) } print '
'; +dol_htmloutput_mesg($mesg); $db->close(); diff --git a/htdocs/webservices/index.php b/htdocs/webservices/index.php index d99da75f9aa..097c53bfe87 100644 --- a/htdocs/webservices/index.php +++ b/htdocs/webservices/index.php @@ -91,9 +91,6 @@ if ($conf->fournisseur->enabled) } print '
'; -print '
'; -print 'NUSoap library path used by Dolibarr: '.NUSOAP_PATH.'
'; -print '
'; $db->close();