-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfig.php
31 lines (30 loc) · 2.36 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
$BASE_URL = 'https://domain.tld'; // Domain name or IP address of the server Pellicola runs on. Include the full path, if necessary (for example, https://domain.tld/pellicola)
$TITLE = 'Pellicola'; // Name of the Pellicola instance.
$SUBTITLE = 'Responsive open-source photo grid'; // Tagline displayed under the title.
$PASSWORD = '$2y$12$7U709KLbqR1vdGuWAfcvZ.SKVk46OJE4qyfcUcAH0oXcoRrFiAIc6'; // Password for the random photo page and protected albums
$PROTECTED_ALBUMS = 'Personal, Private'; // List of password-protected albums
$DELETE_PASSWORD = '$2y$12$7U709KLbqR1vdGuWAfcvZ.SKVk46OJE4qyfcUcAH0oXcoRrFiAIc6'; // Hashed password to delete photos
$PER_PAGE = 12; // Number of images per page for pagination
$REVERSED_SORT = true; // Set to true to show tims in the newest to oldest order
$FOOTER = 'This is Pellicola';
$LINKS = true; // Enable links in the footer
// If $LINKS is set to "true", specify the desired URLs
$URLS = array(
array('https://github.com/dmpop/pellicola', 'Pellicola'),
array('https://www.paypal.com/paypalme/dmpop', 'I 🧡 coffee')
);
$IMG_FORMATS = 'jpg,jpeg,JPG,JPEG'; // File types Pellicola displays. Add other file extensions (for example, PNG, HEIC, etc.), if needed.
$RAW_FORMATS = 'ARW,arw,NEF,nef,ORF,orf,DNG,dng'; // Supported RAW formats. Add other file extensions, if needed
$TIM_QUALITY = 100; // Quality of generated tims (thumbnails).
$TIM_SIZE = 1200; //Tim size
$DOWNLOAD = false; // Toggle photo download
$DOWNLOAD_PASSWORD = '$2y$12$7U709KLbqR1vdGuWAfcvZ.SKVk46OJE4qyfcUcAH0oXcoRrFiAIc6'; // Hashed password to protect downloads. Leave empty to disable password protection.
$RSS_LIMIT = 31; // Show only items in the RSS feed that are newer than the specified number of days.
$SHOW_MAP = false; // If set to "true", shows a Leaflet-based map marking the position of the geotagged photo.
$OPENSTREETMAP = true; // If set to "true", the application generates a URL that shows the position of the geotagged photo in OpenStreetMap. Otherwise, the application generates a geo URI that shows the position in the default map application.
$AUTO_REFRESH = 180; // Interval in seconds between random photo page refreshes.
/* DO NOT CHANGE THE SETTINGS BELOW */
$ROOT_PHOTO_DIR = 'photos'; // Directory for storing photos
$STATS_DIR = 'stats'; // Directory for storing downloads and views stats
$TIMS_DIR = $ROOT_PHOTO_DIR . '/.tims/'; // Directory for storing tims