$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"; echo "Passthru is : {$realpath}\n"; if ($logfile != '') { $reallogfilepath = realpath($logfile); echo "Logfile is at : {$reallogfilepath}\n"; } echo "Starting MODXFS-PHP FUSE process\n"; include 'modxfs.class.php'; $modxFuse = new Modxfs(); $modxFuse->mount($realmount, "default_permissions");