From 1a7ed49f072b8f99b85c48e19ec99e9d0213797e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 30 May 2009 09:50:35 +0200 Subject: * add option to control photo path-substituion, resolves #180 * check for PDO sqlite driver Signed-off-by: Andreas Unterkircher --- phpfspot_cfg.php.dist | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpfspot_cfg.php.dist') diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index 4eec27c..375eab9 100644 --- a/phpfspot_cfg.php.dist +++ b/phpfspot_cfg.php.dist @@ -82,7 +82,12 @@ class PHPFSPOT_CFG { /* Usually the photo directory differs between your local F-Spot installation and your webserver. With this you can advice phpfspot to replace all paths (they are stored in F-Spot's sqlite3 database). + + disable this feature by setting the next variable to false; */ + var $enable_replace_path = true; + + // substitute all "from" matches with "to" var $path_replace_from = "/home/unki"; var $path_replace_to = "/var/www/phpfspot/Photos"; -- cgit v1.2.3-18-g5258