projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate_path() only needs one parameters. remove unused second one
[phpfspot.git]
/
phpfspot_db.php
diff --git
a/phpfspot_db.php
b/phpfspot_db.php
index 807cf0feb36ca072307497ba4d920208b4b27b3c..90fdb8cc17392088a0d83763b7508b940dc764ce 100644
(file)
--- a/
phpfspot_db.php
+++ b/
phpfspot_db.php
@@
-2,8
+2,9
@@
/***************************************************************************
*
/***************************************************************************
*
- * Copyright (c) by Andreas Unterkircher, unki@netshadow.at
- * All rights reserved
+ * phpfspot, presents your F-Spot photo collection in Web browsers.
+ *
+ * Copyright (c) by Andreas Unterkircher
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-21,6
+22,10
@@
*
***************************************************************************/
*
***************************************************************************/
+/**
+ * PHPFSPOT_DB class
+ * @package phpfspot
+ */
class PHPFSPOT_DB {
private $db;
class PHPFSPOT_DB {
private $db;
@@
-37,7
+42,9
@@
class PHPFSPOT_DB {
*/
public function __construct($parent, $db_path)
{
*/
public function __construct($parent, $db_path)
{
- $this->parent = $parent;
+ global $phpfspot;
+
+ $this->parent = $phpfspot;
$this->db_path = $db_path;
/* We are starting disconnected */
$this->db_path = $db_path;
/* We are starting disconnected */