diff --git a/core/class/router.class.php b/core/class/router.class.php index 6b0e5d2..a804b9a 100644 --- a/core/class/router.class.php +++ b/core/class/router.class.php @@ -435,7 +435,7 @@ class core extends common $this->setData(['enrolment', self::$siteContent, $this->getUser('id'), 'datePageView', time()]); // Stocke le rapport en CSV - $file = fopen(self::DATA_DIR . self::$siteContent . 'report.csv', 'a+'); + $file = fopen(self::DATA_DIR . self::$siteContent . '/report.csv', 'a+'); fputcsv($file, [ self::$siteContent, $this->getUser('id'), $this->getUrl(0) ,time()], ';'); fclose($file); diff --git a/core/module/course/view/manage/manage.php b/core/module/course/view/manage/manage.php index ecc58ea..4582ac5 100644 --- a/core/module/course/view/manage/manage.php +++ b/core/module/course/view/manage/manage.php @@ -58,6 +58,53 @@ + +"; +var_dump ($json); +?> + + +// Affichez le tableau pour vérifier +echo '
';
+print_r($tableauAssociatif);
+echo '
'; +?> +