summaryrefslogtreecommitdiffstats
path: root/phpfspot_cfg.php.dist
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2009-05-30 09:50:35 +0200
committerAndreas Unterkircher <unki@netshadow.at>2009-05-30 09:54:15 +0200
commit1a7ed49f072b8f99b85c48e19ec99e9d0213797e (patch)
tree24cd8b26d3c2221eebee7cfcb3569f92657f55db /phpfspot_cfg.php.dist
parentb144237b69f5133524d31a8cf633af2af7244e6b (diff)
* add option to control photo path-substituion, resolves #180
* check for PDO sqlite driver Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot_cfg.php.dist')
-rw-r--r--phpfspot_cfg.php.dist5
1 files changed, 5 insertions, 0 deletions
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";