Skip to content
This repository has been archived by the owner. It is now read-only.
Redirect from an album-name to a Lychee-album.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
config.sample.ini
index.php
readme.md

readme.md

[Deprecated] Redirect

Redirect is an extension for Lychee, which redirects the user to an album inside Lychee. Or with other words: It turns an album-name into an album-id.

Installation

This extension requires a working Lychee v2.5 on your computer or server.

Navigate to the plugin-folder (plugins/) of your Lychee and run the following command:

git clone https://github.com/electerious/lychee-redirect.git redirect

Open the new folder, copy the config.sample.ini and rename the copy to config.ini. Than open the INI and fill the properties with your configuration.

How to use

Open your browser and enter the address to the redirect-folder. Append ?name={albumname} to the end of the URL. Make sure that you replace {albumname} with a name of an album in your Lychee. The complete URL could look like this:

http://lychee.example.com/plugins/redirect/?name=test

The script will redirect you to the corresponding album in Lychee.

License

(MIT License)

Copyright (C) 2014 Tobias Reich

You can’t perform that action at this time.