mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Fix
This commit is contained in:
parent
970a9c1bb2
commit
8f580a9c51
2 changed files with 14 additions and 4 deletions
|
@ -1 +1,11 @@
|
|||
YOURLS stands for Your Own URL Shortener. It is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL or bitly).
|
||||
YOURLS stands for Your Own URL Shortener. It is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL or bitly).
|
||||
|
||||
### YOURLS Features
|
||||
|
||||
- Free and open-source software,
|
||||
- Private (your links only) or Public (everybody can create short links, fine for an intranet),
|
||||
- Terrific Plugin architecture and dozens of plugins to easily implement new features,
|
||||
- Handy bookmarklets to easily shorten and share links,
|
||||
- Awesome stats: historical click reports, referrers tracking, visitors geo-location,
|
||||
- Developer API to integrate YOURLS into other applications,
|
||||
- Sample files to create your own public interface and more !
|
||||
|
|
|
@ -85,6 +85,9 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
||||
# copy index file
|
||||
ynh_add_config --template="../conf/index.php" --destination="$final_path/"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
@ -106,9 +109,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
|||
ynh_add_fpm_config
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
# copy index file
|
||||
cp ../conf/index.php $final_path/
|
||||
|
||||
#=================================================
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue