diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 0098504..3c160a3 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -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). \ No newline at end of file +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 ! diff --git a/scripts/install b/scripts/install index 5f523ff..7ef7189 100644 --- a/scripts/install +++ b/scripts/install @@ -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