X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_cfg.php.dist;h=4eb5894fe4de1d04809f813972379204b0279ee8;hp=93aaff412cd72d7549c7be17ce9740300dbd611c;hb=4552617dca9f593137d6785ccd67c6a421df232f;hpb=42d1600991af9c3243761c56cf01197dd71fabd7 diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index 93aaff4..4eb5894 100644 --- a/phpfspot_cfg.php.dist +++ b/phpfspot_cfg.php.dist @@ -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 @@ -56,6 +57,15 @@ class PHPFSPOT_CFG { */ var $phpfspot_db = "/var/www/f-spot-dbs/phpfspot.db"; + /* sqlite temp dir. per default sqlite tries /var/tmp, /usr/tmp, /tmp + and the current working directory for creating temporary files. + If you still get error messages when phpfspot tries to create the + indecies in $fspot_db, set this option to another writeable + directory. For example $phpfspot_db directory, which must be + writeable anyway. + */ + // var $sqlite_temp_dir = "/var/www/f-spot-dbs"; + /* don't touch if you haven't changed the base templates */ var $thumb_width = "150"; var $thumb_height = "145"; @@ -84,6 +94,16 @@ class PHPFSPOT_CFG { */ //var $show_tags = Array("Friends", "Holidays"); + /* Use lightbox2 for photo preview (adds the little eye symbol into the + photo index. + */ + var $use_lightbox = true; + + /* Use Ajax Auto Completion for tag search. Maybe, if you have a slow + connectivity for the server, it's a good idea to turn it off. + */ + var $use_autocomplete = true; + /* logging = display || errorlog || logfile */ var $logging = "display"; @@ -93,6 +113,9 @@ class PHPFSPOT_CFG { /* no need to modified anything below this line */ var $error_found = 0; + /* path to dcraw to decode Nikon's NEF format */ + // var $dcraw_bin = "/usr/bin/dcraw"; + public function __construct() {