Découpage du traitement en ercore plus de classes

This commit is contained in:
Mysaa
2021-06-06 12:15:10 +02:00
parent 6c9434e092
commit c9589d2cf6
11 changed files with 1154 additions and 568 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
try{
$GLOBALS['bdd'] = new PDO('mysql:host=mysql.hostinger.fr;dbname=u890869027_bcom;charset=utf8', 'u890869027_bcom', '*******************');
}catch(Exception $e){
die ('Erreur : ' . $e->getMessage());
}
//TODO in the classes , do more test of exists in setters
include_once 'clazz/Langage.class.php';
include_once 'clazz/Membre.class.php';
include_once 'clazz/Discussion.class.php';
include_once 'clazz/Message.class.php';
include_once 'clazz/Projet.class.php';
//Use class's consts for file names
include_once 'clazz/Version.class.php';