From 4594e988d4671e39e841ca4e5102375ab481f62f Mon Sep 17 00:00:00 2001 From: Cedric Date: Mon, 9 Nov 2015 21:58:38 +0100 Subject: [PATCH] ok --- index.php | 11 +---------- page/groups.php | 4 ++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index 91cb619..32aeb28 100755 --- a/index.php +++ b/index.php @@ -1,14 +1,5 @@ "; //inclusion des classes de PHPExcel - include buildPath("src", "phpexcel", "Classes", "PHPExcel.php"); - include buildPath("src", "phpexcel", "Classes", "PHPExcel", "Writer", "Excel2007.php"); + include __ROOT__.DIRECTORY_SEPARATOR.join(DIRECTORY_SEPARATOR, array("src", "phpexcel", "Classes", "PHPExcel.php")); + include __ROOT__.DIRECTORY_SEPARATOR.join(DIRECTORY_SEPARATOR, array("src", "phpexcel", "Classes", "PHPExcel", "Writer", "Excel2007.php")); //On crée une instance du fichier xls, ainsi que de la feuille active $workbook = new PHPExcel();