X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_cfg.php.dist;h=375eab99ae5fd6ebeb7ac6bf1c1d9641c305f5ff;hp=a04a4223c9d35c788ceeb495df4569ed371d3e11;hb=HEAD;hpb=c22956d2e3c244bdee3b35d4916e7c4e7f14adab diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index a04a422..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"; @@ -122,6 +127,22 @@ class PHPFSPOT_CFG { /* user friendly URLs */ var $user_friendly_url = false; + /* default sort order - possible values are: + + date_asc => sort by date ascending (17.1, 18.1, 19.1, ...) + date_desc => sort by date descending (19.1, 18.1, 17.1, ...) + name_asc => sort by name ascending (alphabetical) + name_desc => sort by name descending (alphabetical) + tags_asc => sort by tag ascending (alphabetical) + tags_desc => sort by tag descending (alphabetical) + rate_asc => sort by rate value ascending (1, 2, 3, 4, 5) + rate_desc => sort by rate value descending (5, 4, 3, 2, 1) + + Attention: Rate value is available beginning with F-Spot version 0.4.1 + + */ + var $sort_order = "tags_asc"; + public function __construct() {