function.php : added SESSION variables to take into account good path for lib, depending on system architecture