* Copyright (C) 2007 ITema, Inc.<*****@*****.**> * */ /* Configuration */ include 'config.inc.php'; /* * Class instantiations */ include 'constants.php'; $mount = $working . $mount_point; $passthru = $working . $passthru_point; include 'log.class.php'; Log::initialize($logfile); include 'pool.class.php'; $dbConfig = array('server' => $host, 'username' => $user, 'password' => $password, 'database' => $database, 'port' => $port, 'prefix' => $prefix); $error = Pool::initialize($dbConfig); if ($error != "") { die($error); } include 'passthru.class.php'; /* Get the real path of the passthru directory */ $realpath = realpath($passthru); PassThru::initialize($passthrudirs, $realpath); include 'query.class.php'; /* Set the databse type */ Query::setDatabaseType($dbType); /* * Main FUSE functionality starts here */ $realmount = realpath($mount); echo "Mount point is : {$realmount}\n";