aboutsummaryrefslogtreecommitdiff
path: root/fn/fn.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-09-02 16:19:13 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-09-02 16:19:13 +0200
commitcbecc0dfc819febf4c2b36791d5a2a7e69d842af (patch)
treec181eb875cef9ca6a48f0b807905d7a2c15bee98 /fn/fn.php
parente9b2ca7c06875069fa03379258625490872cc33d (diff)
downloadwcms-cbecc0dfc819febf4c2b36791d5a2a7e69d842af.tar.gz
wcms-cbecc0dfc819febf4c2b36791d5a2a7e69d842af.zip
2.5 mobile update + minor upgrades and fixes
Diffstat (limited to 'fn/fn.php')
-rw-r--r--fn/fn.php7
1 files changed, 3 insertions, 4 deletions
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