fonction d'upload fully working now !

This commit is contained in:
2019-03-07 10:52:56 +01:00
parent a2f1200654
commit 194ca52738
3 changed files with 35 additions and 4 deletions

View File

@ -26,6 +26,7 @@ if(isset($_SESSION["author"])) { //wip
// var_dump($_SESSION["author"]);
define("DIR", str_replace("/php", "", __DIR__));
define("ROOT", str_replace("/assets/php", "", __DIR__));
//renvoie vers le fichier css si il est demandé
if(Functions::endsWith($_GET["page"], ".css")) {