Index: weave_storage.php --- weave_storage.php.orig 2009-11-27 18:26:27 +0100 +++ weave_storage.php 2010-01-31 11:39:30 +0100 @@ -47,11 +47,7 @@ function __construct($username) { $this->_username = $username; - $path = explode('/', $_SERVER['SCRIPT_FILENAME']); $db_name = 'weave_db'; - array_pop($path); - array_push($path, $db_name); - $db_name = implode('/', $path); $create_tables = !file_exists($db_name);