Removed parenthesis from all include and include_once and replaced with single quotes

This commit is contained in:
Marcos García
2012-08-23 02:04:35 +02:00
parent 37c4898720
commit 9b3c89ac47
310 changed files with 762 additions and 762 deletions

View File

@@ -54,7 +54,7 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
$type='order';
$liste=array();
include_once(DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php');
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$liste=getListOfModels($db,$type,$maxfilenamelength);
return $liste;
@@ -235,7 +235,7 @@ function commande_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0
dol_meta_create($object);
// Appel des triggers
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($db);
$result=$interface->run_triggers('ORDER_BUILDDOC',$object,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }