From cbecc0dfc819febf4c2b36791d5a2a7e69d842af Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 2 Sep 2018 16:19:13 +0200 Subject: 2.5 mobile update + minor upgrades and fixes --- fn/fn.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'fn/fn.php') diff --git a/fn/fn.php b/fn/fn.php index f3b87aa..54adef6 100644 --- a/fn/fn.php +++ b/fn/fn.php @@ -9,9 +9,9 @@ function bddconnect($host, $bdname, $user, $password) return $bdd; } -function session() +function my_autoloader($class) { - session_start(); + require('../../class/class.w.' . strtolower($class) . '.php'); } function secure() @@ -134,5 +134,4 @@ function array_update($base, $new) -?> - +?> \ No newline at end of file -- cgit v1.2.3