Move config.php to config.sample.php, Adapt Readme
This commit is contained in:
parent
6a7dc96df1
commit
4492935dfe
3 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
cache/*
|
||||
conf/config.php
|
||||
|
|
|
@ -4,7 +4,9 @@ This is a very simple PHP based image Gallery. It takes all images from or (or p
|
|||
|
||||
# Running it
|
||||
|
||||
A webserver with PHP support and the php-gd extension (for thumbnails) is required. An example config for nginx with php-fpm might look like this:
|
||||
Copy conf/config.sample.php to config.php and edit accordingly.
|
||||
|
||||
A webserver with PHP support and the php-gd and php-exif extensions (for thumbnails) is required. An example config for nginx with php-fpm might look like this:
|
||||
|
||||
worker_processes 4;
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
// Gallery Title
|
||||
$conf['gallery_name'] = '<i class="fa fa-home"></i>';
|
||||
// Full Filesystem Path to the Base Image Directory
|
||||
$conf['fs_imagedir'] = '/data0/Private/Pictures/Gallery';
|
||||
$conf['fs_imagedir'] = '/data/images';
|
||||
// Full Filesystem Path to the Thumbnails Storage Directory
|
||||
$conf['fs_thumbdir'] = '/var/cache/gallery/thumbs';
|
||||
$conf['fs_thumbdir'] = '/var/cache/gallery/';
|
||||
// Base URL for the Images Directory
|
||||
$conf['web_imagedir'] = '/images';
|
||||
// Base URL for the Thumbnails Directory
|
Loading…
Reference in a new issue