diff --git a/htdocs/accountancy/class/lettering.class.php b/htdocs/accountancy/class/lettering.class.php
index 2012efe0eb9..97d62ebb5dc 100644
--- a/htdocs/accountancy/class/lettering.class.php
+++ b/htdocs/accountancy/class/lettering.class.php
@@ -230,7 +230,7 @@ class Lettering extends BookKeeping
*
* @param array $ids ids array
* @param boolean $notrigger no trigger
- * @return number
+ * @return number
*/
public function updateLettering($ids = array(), $notrigger = false)
{
diff --git a/htdocs/adherents/admin/adherent_type_extrafields.php b/htdocs/adherents/admin/adherent_type_extrafields.php
index 3e091acdfda..cd73320d02d 100644
--- a/htdocs/adherents/admin/adherent_type_extrafields.php
+++ b/htdocs/adherents/admin/adherent_type_extrafields.php
@@ -100,7 +100,7 @@ if ($action == 'create')
print "
";
print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -113,7 +113,7 @@ if ($action == 'edit' && ! empty($attrname))
print "
";
print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/chequereceipts.php b/htdocs/admin/chequereceipts.php
index b63cecf340b..f5f0f6eb752 100644
--- a/htdocs/admin/chequereceipts.php
+++ b/htdocs/admin/chequereceipts.php
@@ -76,18 +76,18 @@ if ($action == 'set_BANK_CHEQUERECEIPT_FREE_TEXT')
{
$freetext = GETPOST('BANK_CHEQUERECEIPT_FREE_TEXT', 'none'); // No alpha here, we want exact string
- $res = dolibarr_set_const($db, "BANK_CHEQUERECEIPT_FREE_TEXT", $freetext, 'chaine', 0, '', $conf->entity);
+ $res = dolibarr_set_const($db, "BANK_CHEQUERECEIPT_FREE_TEXT", $freetext, 'chaine', 0, '', $conf->entity);
if (! $res > 0) $error++;
if (! $error)
- {
- setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
- }
- else
- {
- setEventMessages($langs->trans("Error"), null, 'errors');
- }
+ {
+ setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
+ }
+ else
+ {
+ setEventMessages($langs->trans("Error"), null, 'errors');
+ }
}
/*
@@ -258,13 +258,13 @@ print $form->textwithpicto($langs->trans("FreeLegalTextOnChequeReceipts"), $lang
$variablename='BANK_CHEQUERECEIPT_FREE_TEXT';
if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT))
{
- print '';
+ print '';
}
else
{
- include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
- $doleditor=new DolEditor($variablename, $conf->global->$variablename, '', 80, 'dolibarr_notes');
- print $doleditor->Create();
+ include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
+ $doleditor=new DolEditor($variablename, $conf->global->$variablename, '', 80, 'dolibarr_notes');
+ print $doleditor->Create();
}
print '
';
print '';
diff --git a/htdocs/admin/commande_fournisseur_dispatch_extrafields.php b/htdocs/admin/commande_fournisseur_dispatch_extrafields.php
index 900d66c73b5..b7e874beec2 100644
--- a/htdocs/admin/commande_fournisseur_dispatch_extrafields.php
+++ b/htdocs/admin/commande_fournisseur_dispatch_extrafields.php
@@ -89,9 +89,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -103,10 +103,10 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
- print " ";
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print " ";
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -116,10 +116,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
llxFooter();
diff --git a/htdocs/admin/confexped.php b/htdocs/admin/confexped.php
index 29940f95d56..b3265479d38 100644
--- a/htdocs/admin/confexped.php
+++ b/htdocs/admin/confexped.php
@@ -45,8 +45,8 @@ $action=GETPOST('action', 'alpha');
// Shipment note
if (! empty($conf->expedition->enabled) && empty($conf->global->MAIN_SUBMODULE_EXPEDITION))
{
- // This option should always be set to on when module is on.
- dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1", 'chaine', 0, '', $conf->entity);
+ // This option should always be set to on when module is on.
+ dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1", 'chaine', 0, '', $conf->entity);
}
/*
if ($action == 'activate_sending')
@@ -66,16 +66,16 @@ if ($action == 'disable_sending')
// Delivery note
if ($action == 'activate_delivery')
{
- dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1", 'chaine', 0, '', $conf->entity); // We must also enable this
- dolibarr_set_const($db, "MAIN_SUBMODULE_LIVRAISON", "1", 'chaine', 0, '', $conf->entity);
+ dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1", 'chaine', 0, '', $conf->entity); // We must also enable this
+ dolibarr_set_const($db, "MAIN_SUBMODULE_LIVRAISON", "1", 'chaine', 0, '', $conf->entity);
header("Location: confexped.php");
exit;
}
elseif ($action == 'disable_delivery')
{
dolibarr_del_const($db, "MAIN_SUBMODULE_LIVRAISON", $conf->entity);
- header("Location: confexped.php");
- exit;
+ header("Location: confexped.php");
+ exit;
}
diff --git a/htdocs/admin/dolistore/ajax/image.php b/htdocs/admin/dolistore/ajax/image.php
index ecba02c712c..8d1122417b5 100644
--- a/htdocs/admin/dolistore/ajax/image.php
+++ b/htdocs/admin/dolistore/ajax/image.php
@@ -40,19 +40,19 @@ $id_image = GETPOST('id_image', 'int');
$quality = GETPOST('quality', 'alpha');
try {
- $url = $conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'/api/images/products/'.$id_product.'/'.$id_image.'/'.$quality;
- $api = new PrestaShopWebservice(
- $conf->global->MAIN_MODULE_DOLISTORE_API_SRV,
- $conf->global->MAIN_MODULE_DOLISTORE_API_KEY, $dolistore->debug_api
- );
- //echo $url;
- $request = $api->executeRequest($url, array(CURLOPT_CUSTOMREQUEST => 'GET'));
- header('Content-type:image');
- print $request['response'];
+ $url = $conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'/api/images/products/'.$id_product.'/'.$id_image.'/'.$quality;
+ $api = new PrestaShopWebservice(
+ $conf->global->MAIN_MODULE_DOLISTORE_API_SRV,
+ $conf->global->MAIN_MODULE_DOLISTORE_API_KEY, $dolistore->debug_api
+ );
+ //echo $url;
+ $request = $api->executeRequest($url, array(CURLOPT_CUSTOMREQUEST => 'GET'));
+ header('Content-type:image');
+ print $request['response'];
} catch (PrestaShopWebserviceException $e) {
- // Here we are dealing with errors
- $trace = $e->getTrace();
- if ($trace[0]['args'][0] == 404) die('Bad ID');
- elseif ($trace[0]['args'][0] == 401) die('Bad auth key');
- else die('Can not access to '.$conf->global->MAIN_MODULE_DOLISTORE_API_SRV);
+ // Here we are dealing with errors
+ $trace = $e->getTrace();
+ if ($trace[0]['args'][0] == 404) die('Bad ID');
+ elseif ($trace[0]['args'][0] == 401) die('Bad auth key');
+ else die('Can not access to '.$conf->global->MAIN_MODULE_DOLISTORE_API_SRV);
}
diff --git a/htdocs/admin/ecm.php b/htdocs/admin/ecm.php
index 2fcf3fe6422..66fa695c5b9 100644
--- a/htdocs/admin/ecm.php
+++ b/htdocs/admin/ecm.php
@@ -36,30 +36,30 @@ if (! $user->admin) accessforbidden();
*/
if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg))
{
- $code=$reg[1];
- if (dolibarr_set_const($db, $code, 1, 'chaine', 0, '', $conf->entity) > 0)
- {
- header("Location: ".$_SERVER["PHP_SELF"]);
- exit;
- }
- else
- {
- dol_print_error($db);
- }
+ $code=$reg[1];
+ if (dolibarr_set_const($db, $code, 1, 'chaine', 0, '', $conf->entity) > 0)
+ {
+ header("Location: ".$_SERVER["PHP_SELF"]);
+ exit;
+ }
+ else
+ {
+ dol_print_error($db);
+ }
}
if (preg_match('/del_([a-z0-9_\-]+)/i', $action, $reg))
{
- $code=$reg[1];
- if (dolibarr_del_const($db, $code, $conf->entity) > 0)
- {
- header("Location: ".$_SERVER["PHP_SELF"]);
- exit;
- }
- else
- {
- dol_print_error($db);
- }
+ $code=$reg[1];
+ if (dolibarr_del_const($db, $code, $conf->entity) > 0)
+ {
+ header("Location: ".$_SERVER["PHP_SELF"]);
+ exit;
+ }
+ else
+ {
+ dol_print_error($db);
+ }
}
diff --git a/htdocs/admin/expedition_extrafields.php b/htdocs/admin/expedition_extrafields.php
index a34bd841c81..69ad145e7df 100644
--- a/htdocs/admin/expedition_extrafields.php
+++ b/htdocs/admin/expedition_extrafields.php
@@ -86,9 +86,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -101,9 +101,9 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
print ' ';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -113,10 +113,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/expensereport_extrafields.php b/htdocs/admin/expensereport_extrafields.php
index 276a50bc440..61dcf3dcf66 100644
--- a/htdocs/admin/expensereport_extrafields.php
+++ b/htdocs/admin/expensereport_extrafields.php
@@ -80,9 +80,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -95,9 +95,9 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
print ' ';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -107,10 +107,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php
index 4a6a21197a8..d2984cab6bf 100644
--- a/htdocs/admin/ldap_contacts.php
+++ b/htdocs/admin/ldap_contacts.php
@@ -68,22 +68,22 @@ if ($action == 'setvalue' && $user->admin)
if (! dolibarr_set_const($db, 'LDAP_CONTACT_FIELD_TOWN', GETPOST("fieldtown"), 'chaine', 0, '', $conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_CONTACT_FIELD_COUNTRY', GETPOST("fieldcountry"), 'chaine', 0, '', $conf->entity)) $error++;
- // This one must be after the others
- $valkey='';
- $key=GETPOST("key");
- if ($key) $valkey=$conf->global->$key;
- if (! dolibarr_set_const($db, 'LDAP_KEY_CONTACTS', $valkey, 'chaine', 0, '', $conf->entity)) $error++;
+ // This one must be after the others
+ $valkey='';
+ $key=GETPOST("key");
+ if ($key) $valkey=$conf->global->$key;
+ if (! dolibarr_set_const($db, 'LDAP_KEY_CONTACTS', $valkey, 'chaine', 0, '', $conf->entity)) $error++;
- if (! $error)
- {
- $db->commit();
- setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
- }
- else
- {
- $db->rollback();
- dol_print_error($db);
- }
+ if (! $error)
+ {
+ $db->commit();
+ setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
+ }
+ else
+ {
+ $db->rollback();
+ dol_print_error($db);
+ }
}
diff --git a/htdocs/admin/livraison_extrafields.php b/htdocs/admin/livraison_extrafields.php
index b78e6f1730e..814a865216d 100644
--- a/htdocs/admin/livraison_extrafields.php
+++ b/htdocs/admin/livraison_extrafields.php
@@ -86,9 +86,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -101,9 +101,9 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
print ' ';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -113,10 +113,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/mailing.php b/htdocs/admin/mailing.php
index 4a37c761628..7598d2d8588 100644
--- a/htdocs/admin/mailing.php
+++ b/htdocs/admin/mailing.php
@@ -48,7 +48,7 @@ if ($action == 'setvalue')
$mailerror = GETPOST('MAILING_EMAIL_ERRORSTO', 'alpha');
$checkread = GETPOST('value', 'alpha');
$checkread_key = GETPOST('MAILING_EMAIL_UNSUBSCRIBE_KEY', 'alpha');
- $mailingdelay = GETPOST('MAILING_DELAY', 'int');
+ $mailingdelay = GETPOST('MAILING_DELAY', 'int');
$res=dolibarr_set_const($db, "MAILING_EMAIL_FROM", $mailfrom, 'chaine', 0, '', $conf->entity);
if (! $res > 0) $error++;
@@ -61,16 +61,16 @@ if ($action == 'setvalue')
$res=dolibarr_set_const($db, "MAILING_EMAIL_UNSUBSCRIBE_KEY", $checkread_key, 'chaine', 0, '', $conf->entity);
if (! $res > 0) $error++;
- if (! $error)
- {
- $db->commit();
- setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
- }
- else
- {
- $db->rollback();
- setEventMessages($langs->trans("Error"), null, 'errors');
- }
+ if (! $error)
+ {
+ $db->commit();
+ setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
+ }
+ else
+ {
+ $db->rollback();
+ setEventMessages($langs->trans("Error"), null, 'errors');
+ }
}
diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php
index 32cd7c35829..ce0136642e2 100644
--- a/htdocs/admin/menus.php
+++ b/htdocs/admin/menus.php
@@ -41,8 +41,8 @@ $dirsmartphone = array();
$dirmenus=array_merge(array("/core/menus/"), (array) $conf->modules_parts['menus']);
foreach($dirmenus as $dirmenu)
{
- $dirstandard[]=$dirmenu.'standard';
- $dirsmartphone[]=$dirmenu.'smartphone';
+ $dirstandard[]=$dirmenu.'standard';
+ $dirsmartphone[]=$dirmenu.'smartphone';
}
$error=0;
@@ -85,8 +85,8 @@ if ($action == 'update' && ! $cancel)
foreach($dirmenus as $dirmenu)
{
$file='init_menu_'.$key.'.sql';
- $fullpath=dol_buildpath($dirmenu.$file);
- //print 'action='.$action.' Search menu into fullpath='.$fullpath.' ';exit;
+ $fullpath=dol_buildpath($dirmenu.$file);
+ //print 'action='.$action.' Search menu into fullpath='.$fullpath.' ';exit;
if (file_exists($fullpath))
{
diff --git a/htdocs/admin/prelevement.php b/htdocs/admin/prelevement.php
index b3e6ec312ae..12231079ae0 100644
--- a/htdocs/admin/prelevement.php
+++ b/htdocs/admin/prelevement.php
@@ -46,15 +46,15 @@ $type = 'paymentorder';
if ($action == "set")
{
- $db->begin();
+ $db->begin();
- $id=GETPOST('PRELEVEMENT_ID_BANKACCOUNT', 'int');
- $account = new Account($db);
- if($account->fetch($id)>0)
- {
- $res = dolibarr_set_const($db, "PRELEVEMENT_ID_BANKACCOUNT", $id, 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
- /*
+ $id=GETPOST('PRELEVEMENT_ID_BANKACCOUNT', 'int');
+ $account = new Account($db);
+ if($account->fetch($id)>0)
+ {
+ $res = dolibarr_set_const($db, "PRELEVEMENT_ID_BANKACCOUNT", $id, 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
+ /*
$res = dolibarr_set_const($db, "PRELEVEMENT_CODE_BANQUE", $account->code_banque,'chaine',0,'',$conf->entity);
if (! $res > 0) $error++;
$res = dolibarr_set_const($db, "PRELEVEMENT_CODE_GUICHET", $account->code_guichet,'chaine',0,'',$conf->entity);
@@ -70,33 +70,33 @@ if ($action == "set")
$res = dolibarr_set_const($db, "PRELEVEMENT_RAISON_SOCIALE", $account->proprio,'chaine',0,'',$conf->entity);
if (! $res > 0) $error++;
*/
- }
- else $error++;
+ }
+ else $error++;
- $res = dolibarr_set_const($db, "PRELEVEMENT_ICS", GETPOST("PRELEVEMENT_ICS"), 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
+ $res = dolibarr_set_const($db, "PRELEVEMENT_ICS", GETPOST("PRELEVEMENT_ICS"), 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
- if (GETPOST("PRELEVEMENT_USER") > 0)
- {
- $res = dolibarr_set_const($db, "PRELEVEMENT_USER", GETPOST("PRELEVEMENT_USER"), 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
- }
- if (GETPOST("PRELEVEMENT_END_TO_END") || GETPOST("PRELEVEMENT_END_TO_END")=="")
- {
- $res = dolibarr_set_const($db, "PRELEVEMENT_END_TO_END", GETPOST("PRELEVEMENT_END_TO_END"), 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
- }
- if (GETPOST("PRELEVEMENT_USTRD") || GETPOST("PRELEVEMENT_USTRD")=="")
- {
- $res = dolibarr_set_const($db, "PRELEVEMENT_USTRD", GETPOST("PRELEVEMENT_USTRD"), 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
- }
+ if (GETPOST("PRELEVEMENT_USER") > 0)
+ {
+ $res = dolibarr_set_const($db, "PRELEVEMENT_USER", GETPOST("PRELEVEMENT_USER"), 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
+ }
+ if (GETPOST("PRELEVEMENT_END_TO_END") || GETPOST("PRELEVEMENT_END_TO_END")=="")
+ {
+ $res = dolibarr_set_const($db, "PRELEVEMENT_END_TO_END", GETPOST("PRELEVEMENT_END_TO_END"), 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
+ }
+ if (GETPOST("PRELEVEMENT_USTRD") || GETPOST("PRELEVEMENT_USTRD")=="")
+ {
+ $res = dolibarr_set_const($db, "PRELEVEMENT_USTRD", GETPOST("PRELEVEMENT_USTRD"), 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
+ }
- if (GETPOST("PRELEVEMENT_ADDDAYS") || GETPOST("PRELEVEMENT_ADDDAYS")=="")
- {
- $res = dolibarr_set_const($db, "PRELEVEMENT_ADDDAYS", GETPOST("PRELEVEMENT_ADDDAYS"), 'chaine', 0, '', $conf->entity);
- if (! $res > 0) $error++;
- } elseif (! $error)
+ if (GETPOST("PRELEVEMENT_ADDDAYS") || GETPOST("PRELEVEMENT_ADDDAYS")=="")
+ {
+ $res = dolibarr_set_const($db, "PRELEVEMENT_ADDDAYS", GETPOST("PRELEVEMENT_ADDDAYS"), 'chaine', 0, '', $conf->entity);
+ if (! $res > 0) $error++;
+ } elseif (! $error)
{
$db->commit();
setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
@@ -110,20 +110,20 @@ if ($action == "set")
if ($action == "addnotif")
{
- $bon = new BonPrelevement($db);
- $bon->AddNotification($db, GETPOST('user', 'int'), $action);
+ $bon = new BonPrelevement($db);
+ $bon->AddNotification($db, GETPOST('user', 'int'), $action);
- header("Location: prelevement.php");
- exit;
+ header("Location: prelevement.php");
+ exit;
}
if ($action == "deletenotif")
{
- $bon = new BonPrelevement($db);
- $bon->DeleteNotificationById(GETPOST('notif', 'int'));
+ $bon = new BonPrelevement($db);
+ $bon->DeleteNotificationById(GETPOST('notif', 'int'));
- header("Location: prelevement.php");
- exit;
+ header("Location: prelevement.php");
+ exit;
}
/*
diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php
index c00bef75697..9011c6b4e67 100644
--- a/htdocs/admin/proxy.php
+++ b/htdocs/admin/proxy.php
@@ -40,34 +40,34 @@ $upload_dir=$conf->admin->dir_temp;
if (GETPOST('action', 'aZ09') == 'set_proxy')
{
- if (GETPOST("MAIN_USE_CONNECT_TIMEOUT") && ! is_numeric(GETPOST("MAIN_USE_CONNECT_TIMEOUT")))
- {
- setEventMessages($langs->trans("ErrorValueMustBeInteger"), null, 'errors');
- $error++;
- }
- if (GETPOST("MAIN_USE_RESPONSE_TIMEOUT") && ! is_numeric(GETPOST("MAIN_USE_RESPONSE_TIMEOUT")))
- {
- setEventMessages($langs->trans("ErrorValueMustBeInteger"), null, 'errors');
- $error++;
- }
+ if (GETPOST("MAIN_USE_CONNECT_TIMEOUT") && ! is_numeric(GETPOST("MAIN_USE_CONNECT_TIMEOUT")))
+ {
+ setEventMessages($langs->trans("ErrorValueMustBeInteger"), null, 'errors');
+ $error++;
+ }
+ if (GETPOST("MAIN_USE_RESPONSE_TIMEOUT") && ! is_numeric(GETPOST("MAIN_USE_RESPONSE_TIMEOUT")))
+ {
+ setEventMessages($langs->trans("ErrorValueMustBeInteger"), null, 'errors');
+ $error++;
+ }
- if (! $error)
- {
- $result=0;
- $result+=dolibarr_set_const($db, 'MAIN_USE_CONNECT_TIMEOUT', GETPOST("MAIN_USE_CONNECT_TIMEOUT"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_USE_RESPONSE_TIMEOUT', GETPOST("MAIN_USE_RESPONSE_TIMEOUT"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_PROXY_USE', GETPOST("MAIN_PROXY_USE"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_PROXY_HOST', GETPOST("MAIN_PROXY_HOST"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_PROXY_PORT', GETPOST("MAIN_PROXY_PORT"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_PROXY_USER', GETPOST("MAIN_PROXY_USER"), 'chaine', 0, '', $conf->entity);
- $result+=dolibarr_set_const($db, 'MAIN_PROXY_PASS', GETPOST("MAIN_PROXY_PASS"), 'chaine', 0, '', $conf->entity);
- if ($result < 5) dol_print_error($db);
- }
+ if (! $error)
+ {
+ $result=0;
+ $result+=dolibarr_set_const($db, 'MAIN_USE_CONNECT_TIMEOUT', GETPOST("MAIN_USE_CONNECT_TIMEOUT"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_USE_RESPONSE_TIMEOUT', GETPOST("MAIN_USE_RESPONSE_TIMEOUT"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_PROXY_USE', GETPOST("MAIN_PROXY_USE"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_PROXY_HOST', GETPOST("MAIN_PROXY_HOST"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_PROXY_PORT', GETPOST("MAIN_PROXY_PORT"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_PROXY_USER', GETPOST("MAIN_PROXY_USER"), 'chaine', 0, '', $conf->entity);
+ $result+=dolibarr_set_const($db, 'MAIN_PROXY_PASS', GETPOST("MAIN_PROXY_PASS"), 'chaine', 0, '', $conf->entity);
+ if ($result < 5) dol_print_error($db);
+ }
- if (! $error)
- {
- setEventMessages($langs->trans("RecordModifiedSuccessfully"), null, 'mesgs');
- }
+ if (! $error)
+ {
+ setEventMessages($langs->trans("RecordModifiedSuccessfully"), null, 'mesgs');
+ }
}
@@ -99,8 +99,8 @@ dol_fiche_head($head, 'proxy', $langs->trans("Security"), -1);
if ($conf->use_javascript_ajax)
{
- print "\n".''."\n";
+ print ''."\n";
}
diff --git a/htdocs/admin/reception_extrafields.php b/htdocs/admin/reception_extrafields.php
index 454fe1c4a8f..95338903ade 100644
--- a/htdocs/admin/reception_extrafields.php
+++ b/htdocs/admin/reception_extrafields.php
@@ -89,9 +89,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -103,10 +103,10 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
- print " ";
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print " ";
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -116,10 +116,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
llxFooter();
diff --git a/htdocs/admin/resource.php b/htdocs/admin/resource.php
index 462326316b2..b64c01c5f00 100644
--- a/htdocs/admin/resource.php
+++ b/htdocs/admin/resource.php
@@ -35,7 +35,7 @@ $langs->loadLangs(array("admin","resource"));
// Security check
if (!$user->admin)
- accessforbidden();
+ accessforbidden();
$action = GETPOST('action', 'alpha');
diff --git a/htdocs/admin/supplierinvoicedet_extrafields.php b/htdocs/admin/supplierinvoicedet_extrafields.php
index bcb3b5769ee..39a757bbf9c 100644
--- a/htdocs/admin/supplierinvoicedet_extrafields.php
+++ b/htdocs/admin/supplierinvoicedet_extrafields.php
@@ -86,9 +86,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -101,9 +101,9 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
print ' ';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -113,10 +113,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/supplierorder_extrafields.php b/htdocs/admin/supplierorder_extrafields.php
index 78c31291414..8924741df52 100644
--- a/htdocs/admin/supplierorder_extrafields.php
+++ b/htdocs/admin/supplierorder_extrafields.php
@@ -84,9 +84,9 @@ dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -99,9 +99,9 @@ if ($action != 'create' && $action != 'edit')
if ($action == 'create')
{
print ' ';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -111,10 +111,10 @@ if ($action == 'create')
/* ************************************************************************** */
if ($action == 'edit' && ! empty($attrname))
{
- print " ";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print " ";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
diff --git a/htdocs/admin/system/constall.php b/htdocs/admin/system/constall.php
index 194c871958d..0835138227b 100644
--- a/htdocs/admin/system/constall.php
+++ b/htdocs/admin/system/constall.php
@@ -70,27 +70,27 @@ $configfileparameters=array(
'?dolibarr_main_auth_ldap_admin_login',
'?dolibarr_main_auth_ldap_admin_pass',
'?dolibarr_main_auth_ldap_debug',
- 'separator',
- '?dolibarr_lib_ADODB_PATH',
+ 'separator',
+ '?dolibarr_lib_ADODB_PATH',
'?dolibarr_lib_FPDF_PATH',
- '?dolibarr_lib_TCPDF_PATH',
+ '?dolibarr_lib_TCPDF_PATH',
'?dolibarr_lib_FPDI_PATH',
- '?dolibarr_lib_TCPDI_PATH',
+ '?dolibarr_lib_TCPDI_PATH',
'?dolibarr_lib_NUSOAP_PATH',
- '?dolibarr_lib_PHPEXCEL_PATH',
- '?dolibarr_lib_GEOIP_PATH',
+ '?dolibarr_lib_PHPEXCEL_PATH',
+ '?dolibarr_lib_GEOIP_PATH',
'?dolibarr_lib_ODTPHP_PATH',
- '?dolibarr_lib_ODTPHP_PATHTOPCLZIP',
- '?dolibarr_js_CKEDITOR',
- '?dolibarr_js_JQUERY',
- '?dolibarr_js_JQUERY_UI',
- '?dolibarr_js_JQUERY_FLOT',
+ '?dolibarr_lib_ODTPHP_PATHTOPCLZIP',
+ '?dolibarr_js_CKEDITOR',
+ '?dolibarr_js_JQUERY',
+ '?dolibarr_js_JQUERY_UI',
+ '?dolibarr_js_JQUERY_FLOT',
'?dolibarr_font_DOL_DEFAULT_TTF',
- '?dolibarr_font_DOL_DEFAULT_TTF_BOLD',
+ '?dolibarr_font_DOL_DEFAULT_TTF_BOLD',
'separator',
'?dolibarr_mailing_limit_sendbyweb',
'?dolibarr_mailing_limit_sendbycli',
- '?dolibarr_strict_mode'
+ '?dolibarr_strict_mode'
);
$configfilelib=array(
// 'separator',
@@ -121,20 +121,20 @@ $configfilelib=array(
'dolibarr_main_auth_ldap_admin_pass',
'dolibarr_main_auth_ldap_debug',
'separator',
- 'dolibarr_lib_ADODB_PATH',
- 'dolibarr_lib_TCPDF_PATH',
- 'dolibarr_lib_FPDI_PATH',
+ 'dolibarr_lib_ADODB_PATH',
+ 'dolibarr_lib_TCPDF_PATH',
+ 'dolibarr_lib_FPDI_PATH',
'dolibarr_lib_NUSOAP_PATH',
- 'dolibarr_lib_PHPEXCEL_PATH',
- 'dolibarr_lib_GEOIP_PATH',
+ 'dolibarr_lib_PHPEXCEL_PATH',
+ 'dolibarr_lib_GEOIP_PATH',
'dolibarr_lib_ODTPHP_PATH',
- 'dolibarr_lib_ODTPHP_PATHTOPCLZIP',
- 'dolibarr_js_CKEDITOR',
- 'dolibarr_js_JQUERY',
- 'dolibarr_js_JQUERY_UI',
- 'dolibarr_js_JQUERY_FLOT',
+ 'dolibarr_lib_ODTPHP_PATHTOPCLZIP',
+ 'dolibarr_js_CKEDITOR',
+ 'dolibarr_js_JQUERY',
+ 'dolibarr_js_JQUERY_UI',
+ 'dolibarr_js_JQUERY_FLOT',
'dolibarr_font_DOL_DEFAULT_TTF',
- 'dolibarr_font_DOL_DEFAULT_TTF_BOLD',
+ 'dolibarr_font_DOL_DEFAULT_TTF_BOLD',
'separator',
'Limit nb of email sent by page',
'Strict mode is on/off'
@@ -155,19 +155,19 @@ foreach($configfileparameters as $key)
if (empty($ignore))
{
- $newkey = preg_replace('/^\?/', '', $key);
+ $newkey = preg_replace('/^\?/', '', $key);
- if (preg_match('/^\?/', $key) && empty(${$newkey}))
- {
- $i++;
- continue; // We discard parametes starting with ?
- }
+ if (preg_match('/^\?/', $key) && empty(${$newkey}))
+ {
+ $i++;
+ continue; // We discard parametes starting with ?
+ }
- if ($newkey == 'separator' && $lastkeyshown == 'separator')
- {
- $i++;
- continue;
- }
+ if ($newkey == 'separator' && $lastkeyshown == 'separator')
+ {
+ $i++;
+ continue;
+ }
print ' | ';
if ($newkey == 'separator')
@@ -233,17 +233,17 @@ if ($resql)
$i = 0;
while ($i < $num)
- {
- $obj = $db->fetch_object($resql);
+ {
+ $obj = $db->fetch_object($resql);
- print '
';
- print '| '.$obj->name.' | '."\n";
- print ''.$obj->value.' | '."\n";
- if (empty($conf->multicompany->enabled) || !$user->entity) print ''.$obj->entity.' | '."\n"; // If superadmin or multicompany disabled
- print "
\n";
+ print '';
+ print '| '.$obj->name.' | '."\n";
+ print ''.$obj->value.' | '."\n";
+ if (empty($conf->multicompany->enabled) || !$user->entity) print ''.$obj->entity.' | '."\n"; // If superadmin or multicompany disabled
+ print "
\n";
- $i++;
- }
+ $i++;
+ }
}
print '';
diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 7a53b95fcf2..dce23de6270 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -54,17 +54,17 @@ $i=0;
foreach($modulesdir as $dir)
{
$handle=@opendir(dol_osencode($dir));
- if (is_resource($handle))
- {
- while (($file = readdir($handle))!==false)
- {
- if (is_readable($dir.$file) && substr($file, 0, 3) == 'mod' && substr($file, dol_strlen($file) - 10) == '.class.php')
- {
- $modName = substr($file, 0, dol_strlen($file) - 10);
+ if (is_resource($handle))
+ {
+ while (($file = readdir($handle))!==false)
+ {
+ if (is_readable($dir.$file) && substr($file, 0, 3) == 'mod' && substr($file, dol_strlen($file) - 10) == '.class.php')
+ {
+ $modName = substr($file, 0, dol_strlen($file) - 10);
- if ($modName)
- {
- //print 'xx'.$dir.$file.'
';
+ if ($modName)
+ {
+ //print 'xx'.$dir.$file.'
';
if (in_array($file, $modules_files))
{
// File duplicate
@@ -77,13 +77,13 @@ foreach($modulesdir as $dir)
if (class_exists($modName))
{
try {
- $objMod = new $modName($db);
+ $objMod = new $modName($db);
- $modules[$objMod->numero]=$objMod;
- $modules_names[$objMod->numero]=$objMod->name;
- $modules_files[$objMod->numero]=$file;
- $modules_fullpath[$file]=$dir.$file;
- $picto[$objMod->numero]=(isset($objMod->picto) && $objMod->picto)?$objMod->picto:'generic';
+ $modules[$objMod->numero]=$objMod;
+ $modules_names[$objMod->numero]=$objMod->name;
+ $modules_files[$objMod->numero]=$file;
+ $modules_fullpath[$file]=$dir.$file;
+ $picto[$objMod->numero]=(isset($objMod->picto) && $objMod->picto)?$objMod->picto:'generic';
}
catch(Exception $e)
{
@@ -95,11 +95,11 @@ foreach($modulesdir as $dir)
print "Warning bad descriptor file : ".$dir.$file." (Class ".$modName." not found into file)
";
}
}
- }
- }
- }
- closedir($handle);
- }
+ }
+ }
+ }
+ closedir($handle);
+ }
}
print '';
@@ -120,15 +120,15 @@ foreach($sortorder as $numero=>$name)
// Module
print '
| ';
$alt=$name.' - '.$modules_files[$numero];
- if (! empty($picto[$numero]))
- {
- if (preg_match('/^\//', $picto[$numero])) print img_picto($alt, $picto[$numero], 'width="14px"', 1);
- else print img_object($alt, $picto[$numero], 'width="14px"');
- }
- else
- {
- print img_object($alt, $picto[$numero], 'width="14px"');
- }
+ if (! empty($picto[$numero]))
+ {
+ if (preg_match('/^\//', $picto[$numero])) print img_picto($alt, $picto[$numero], 'width="14px"', 1);
+ else print img_object($alt, $picto[$numero], 'width="14px"');
+ }
+ else
+ {
+ print img_object($alt, $picto[$numero], 'width="14px"');
+ }
print ' '.$modules[$numero]->getName();
print " | ";
// Version
diff --git a/htdocs/admin/system/xdebug.php b/htdocs/admin/system/xdebug.php
index 56b452706f5..9ea68431b1a 100644
--- a/htdocs/admin/system/xdebug.php
+++ b/htdocs/admin/system/xdebug.php
@@ -41,54 +41,54 @@ print "
\n";
if (!function_exists('xdebug_is_enabled'))
{
- print 'XDebug seems to be not installed. Function xdebug_is_enabled not found.';
- llxFooter();
- exit;
+ print 'XDebug seems to be not installed. Function xdebug_is_enabled not found.';
+ llxFooter();
+ exit;
}
if (function_exists('socket_create'))
{
- $address = ini_get('xdebug.remote_host')?ini_get('xdebug.remote_host'):'127.0.0.1';
- $port = ini_get('xdebug.remote_port')?ini_get('xdebug.remote_port'):9000;
+ $address = ini_get('xdebug.remote_host')?ini_get('xdebug.remote_host'):'127.0.0.1';
+ $port = ini_get('xdebug.remote_port')?ini_get('xdebug.remote_port'):9000;
- print "Current xdebug setup:
\n";
- print "* Remote debug setup:
\n";
- print 'xdebug.remote_enable = '.ini_get('xdebug.remote_enable')."
\n";
- print 'xdebug.remote_host = '.$address."
\n";
- print 'xdebug.remote_port = '.$port."
\n";
- print "* Profiler setup ";
- if (function_exists('xdebug_get_profiler_filename')) print xdebug_get_profiler_filename()?"(currently on into file ".xdebug_get_profiler_filename().")":"(currently off)";
- else print "(currenlty not available)";
- print ":
\n";
- print 'xdebug.profiler_enable = '.ini_get('xdebug.profiler_enable')."
\n";
- print 'xdebug.profiler_enable_trigger = '.ini_get('xdebug.profiler_enable_trigger')."
\n";
- print 'xdebug.profiler_output_dir = '.ini_get('xdebug.profiler_output_dir')."
\n";
- print 'xdebug.profiler_output_name = '.ini_get('xdebug.profiler_output_name')."
\n";
- print 'xdebug.profiler_append = '.ini_get('xdebug.profiler_append')."
\n";
- print "
\n";
+ print "Current xdebug setup:
\n";
+ print "* Remote debug setup:
\n";
+ print 'xdebug.remote_enable = '.ini_get('xdebug.remote_enable')."
\n";
+ print 'xdebug.remote_host = '.$address."
\n";
+ print 'xdebug.remote_port = '.$port."
\n";
+ print "* Profiler setup ";
+ if (function_exists('xdebug_get_profiler_filename')) print xdebug_get_profiler_filename()?"(currently on into file ".xdebug_get_profiler_filename().")":"(currently off)";
+ else print "(currenlty not available)";
+ print ":
\n";
+ print 'xdebug.profiler_enable = '.ini_get('xdebug.profiler_enable')."
\n";
+ print 'xdebug.profiler_enable_trigger = '.ini_get('xdebug.profiler_enable_trigger')."
\n";
+ print 'xdebug.profiler_output_dir = '.ini_get('xdebug.profiler_output_dir')."
\n";
+ print 'xdebug.profiler_output_name = '.ini_get('xdebug.profiler_output_name')."
\n";
+ print 'xdebug.profiler_append = '.ini_get('xdebug.profiler_append')."
\n";
+ print "
\n";
- echo "To run a debug session, add parameter
";
- echo "* XDEBUG_SESSION_START=aname on your URL. To stop, remove cookie XDEBUG_SESSION_START.
\n";
- echo "To run a profiler session (when xdebug.profiler_enable_trigger=1), add parameter
\n";
- echo "* XDEBUG_PROFILE=aname on each URL.
";
- print "
";
+ echo "To run a debug session, add parameter
";
+ echo "* XDEBUG_SESSION_START=aname on your URL. To stop, remove cookie XDEBUG_SESSION_START.
\n";
+ echo "To run a profiler session (when xdebug.profiler_enable_trigger=1), add parameter
\n";
+ echo "* XDEBUG_PROFILE=aname on each URL.
";
+ print "
";
- print "Test debugger server (Eclipse for example):
\n";
- $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
- if (empty($socket)) die('Unable to prepare a socket');
- //socket_bind($sock, $address, $port) or die('Unable to bind on address='.$address.' port='.$port);
- //socket_listen($sock);
- //$client = socket_accept($sock);
- $client=socket_connect($socket, $address, $port);
- if ($client)
- {
- echo "Connection established: ".$client." - address=".$address." port=".$port."
\n";
- echo "There is a Remote debug server at this address.
\n";
- echo "
\n";
- echo "To be sure this debugger accepts input from your PHP server and xdebug, be sure to have\n";
- echo "your php.ini file with this :
\n";
- echo '